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

GPAS - Set Annotation Style

GPAS (style)

Purpose

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

During structure traversal, this structure element sets the current annotation style entry in the graPHIGS API traversal state list to the value specified by the annotation style (style) parameter to render subsequent annotation text primitives. For annotation style 2=LEAD_LINE , the current polyline attributes are used to render the lead line.

The traversal default for annotation style is 1=UNCONNECTED

If the workstation does not support the specified annotation style, then the annotation style defaults to 1=UNCONNECTED

Parameters

style -- specified by user, fullword integer

Annotation style (1=UNCONNECTED, 2=LEAD_LINE )

Error Codes

5
FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)
82
ANNOTATION STYLE IS INVALID

Related Subroutines

GPANR2
Annotation Text Relative 2
GPANR3
Annotation Text Relative 3

RCP code

201328668 (X'0C00081C')


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