[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface : Subroutine Reference
GPASF - Attribute Source Flag Setting
Purpose
Use
GPASF to insert a Set Attribute Source Flag
(ASF) structure element into the open structure
following the element pointer or to replace the element
pointed at by the element pointer with a Set Attribute
Source Flag (ASF) structure element depending on
the current edit mode.
At structure traversal time, the current ASF setting
determines the
1=BUNDLED
or
2=INDIVIDUAL
attributes that the graPHIGS API uses
to draw an output primitive.
The traversal default for all attributes is
2=INDIVIDUAL
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
2=INDIVIDUAL
Parameters
number -- specified by user, fullword integer
The number of entries in the lists
(>=0)
id -- specified by user, array of fullword integers
List of attribute identifiers.
Valid values are:
- 1
- =Linewidth scale factor
- 3
- =Polyline color
- 4
- =Marker type
- 5
- =Marker size scale factor
- 6
- =Polymarker color
- 7
- =Text font
- 8
- =Text precision
- 9
- =Character expansion factor
- 11
- =Text color
- 12
- =Interior style
- 13
- =Style index
- 14
- =Interior color
- 15
- =Edge flag
- 16
- =Edge linetype
- 17
- =Edge color
- 18
- =Edge scale factor
flag -- specified by user, array of fullword integers
Attribute source flag list corresponding to the attribute
identifiers
(1=BUNDLED, 2=INDIVIDUAL
)
Error Codes
- 5
- FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)
- 314
- AN ATTRIBUTE IDENTIFIER IS INVALID
- 315
- ATTRIBUTE SOURCE IS INVALID
- 523
- NUMBER OF ASFS < ZERO
Related Subroutines
None
RCP code
201329153
(X'0C000A01')
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]