[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference

SET INTERIOR STYLE INDEX (PHOP,*,STOP,*)

Purpose

Use Set Interior Style Index to insert a Set Interior Style Index structure element into the open structure following the element pointer or replace the element pointed at by the element pointer with a Set Interior Style Index structure element, depending on the current edit mode.

This structure element specifies an index into the workstation hatch table if the current interior style is HATCH (Set Interior Style) or it specifies an index into the workstation pattern table if the current interior style is PATTERN. At structure traversal time, the graPHIGS API uses this value when rendering all subsequent area defining primitives when the interior style index aspect source flag is set to INDIVIDUAL. (Set Individual ASF).

If the current interior style is not PATTERN or HATCH, then the graPHIGS API ignores this structure element and increments the element counter.

The traversal default value for interior style index is 1.

If the workstation does not support the specified interior style index value or the specified index is outside the table limit, then the interior style index defaults to a value of 1.

All workstations have available registered hatch styles 1-6.

  1. Horizontal equally spaced parallel lines

  2. Vertical equally spaced parallel lines

  3. Positive slope equally spaced parallel lines

  4. Negative slope equally spaced parallel lines

  5. Horizontal/vertical crosshatch

  6. Positive slope/negative slope crosshatch.

    Transformations do not affect interior styles HATCH and PATTERN.

    Language Bindings

  7. C

    pset_int_style_ind (int_style_ind)

    Input Parameters

    Pint int_style_ind
    Interior style index.

    FORTRAN

    PSISI (istyli)

    Input Parameters

    integer istyli
    Interior style index.

    Errors

    5
    Function Requires State (PHOP,*,STOP,*)

    Related Subroutines

  8. Inquire Interior Facilities

  9. Inquire Interior Representation

  10. Inquire Predefined Interior Representation

  11. Set Individual ASF

  12. Set Interior Representation

  13. Set Interior Style


  14. [ Previous | Next | Contents | Glossary | Home | Search ]