Any of these primitives may associated with certain attributes such as color, width, etc. Each attribute is specified by a PHIGS function inserting a "primitive attribute" structure element. Attributes may be specific to certain types of primitives, to several types of primitives, or general attributes used for all types. Attributes which are specific to one type of primitive have no effect on a primitive of another type : e.g. the polyline color attribute does not affect a primitive fill area
The following is a list of the main types of primitives, with their specific attributes in the right-hand column.
polyline PPL PSPLCI polyline color index
PSLN polyline line type
PSLWSC polyline line width
polymarker PPM PSPMCI polymarker color index
PSMK marker type
PSMKSC marker size
fill area PFA PSICI interior color index
PSIS fill-area type
PSISI interior fill-area index
fill area set PFAS PSICI interior color index
PSIS fill-area type
PSISI interior fill-area style index
PSEDFG external contour visibility flag
PSEDCI contour color index
PSEDT contour line type
PSEWSC contour line width
text PTX PSTXCI text color index
PSTXFN font
PSTXPR text precision
PSCHXP character expansion factor
PSCHSP character spacing
PSCHH character height
PSCHUP text vector
PSTXP writing direction
PSTXAL alignment
annotated text PATR PSTXCI text color index
PSTXFN font
PSTXPR text precision
PSCHXP character expansion factor
PSCHSP character spacing
PSCHH character height
PSATCU annotation vector
PSATP writing direction
PSATAL alignment
PSANS type of joint with the annotated point
3D primitives have the same attributes as 2D primitives.
The following is a list of general attributes applicable to all primitives
PSVWI view index
PSHRID type of elimination of hidden lines and hidden surfaces
PADS set name management (add)
PRES set name management (remove)
PSPKID pick identifier
PSMCLI clipping indicator
PSMCV define clipping volume
PRMCV restore clipping volume
PSLMT local transformation set
PSGMT global transformation set