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

SET INDIVIDUAL ASF (PHOP,*,STOP,*)

Purpose

Use Set Individual ASF to insert a Set Individual ASF (Attribute Source Flag) structure element into the open structure following the element pointer or replace the element pointed at by the element pointer with a Set Individual ASF structure element, depending on the current edit mode.

At structure traversal time, the current ASF setting determines the BUNDLED or INDIVIDUAL attributes that the graPHIGS API uses to draw an output primitive.

The traversal default for all attributes is INDIVIDUAL.

Attribute identifiers are:

Linetype Character spacing
Linewidth scale factor Text color index
Polyline color index Interior style
Marker type Interior style index
Marker size scale factor Interior color index
Polymarker color index Edge flag
Text font Edge linetype
Text precision Edgewidth scale factor
Character expansion factor Edge color index

If any attribute identifier in the list is invalid, then the graPHIGS API ignores that entry. If any attribute source flag is invalid, then it defaults to INDIVIDUAL.

Language Bindings

C

pset_indiv_asf (asf_id, asf_source)

Input Parameters

Paspect asf_id
Aspect identifier (0=PASPECT_LINETYPE, 1=PASPECT_LINEWIDTH, 2=PASPECT_LINE_COLR_IND, 3=PASPECT_MARKER_TYPE, 4=PASPECT_MARKER_SIZE, 5=PASPECT_MARKER_COLR_IND, 6=PASPECT_TEXT_FONT, 7=PASPECT_TEXT_PREC, 8=PASPECT_CHAR_EXPAN, 9=PASPECT_CHAR_SPACE, 10=PASPECT_TEXT_COLR_IND, 11=PASPECT_INT_STYLE, 12=PASPECT_INT_STYLE_IND, 13=PASPECT_INT_COLR_IND, 14=PASPECT_EDGE_FLAG, 15=PASPECT_EDGETYPE, 16=PASPECT_EDGEWIDTH, 17=PASPECT_EDGE_COLR_IND).

Pasf asf_source
Aspect source flag value (0=PASF_BUNDLED, 1=PASF_INDIV).

FORTRAN

PSIASF (aspcid, asfval)

Input Parameters

integer aspcid
Aspect identifier (0=PLN, 1=PLWSC, 2=PPLCI, 3=PMK, 4=PMKSC, 5=PPMCI, 6=PTXFN, 7=PTXPR, 8=PCHXP, 9=PCHSP, 10=PTXCI, 11=PIS, 12=PISI, 13=PICI, 14=PEDFG, 15=PEDT, 16=PEWSC, 17=PEDCI).

integer asfval
Aspect source flag value (0=PBUNDL, 1=PINDIV).

Errors

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

Related Subroutines

  • None


  • [ Previous | Next | Contents | Glossary | Home | Search ]