SET MARKER SIZE SCALE FACTOR(3P) — Kubota Pacfic Computer Inc. (29 February 1991)
NAME
SET MARKER SIZE SCALE FACTOR − create structure element to set the current marker size scale factor attribute
SYNOPSIS
C Syntax
void
pset_marker_size ( size )
Pfloatsize;marker size scale factor
Required PHIGS Operating States
(PHOP, ∗, STOP, ∗)
DESCRIPTION
Purpose
SET MARKER SIZE SCALE FACTOR creates a structure element containing a value for the current marker size scale factor attribute.
When the current marker size scale factor Aspect Source Flag (ASF) is set to INDIVIDUAL, the current value of this attribute defines the marker size scale factor to be applied to the output primitives:
• POLYMARKER
• POLYMARKER 3
C Input Parameter
sizeA real value specifying the marker size scale factor.
Execution
If the current edit mode is INSERT, a SET MARKER SIZE SCALE FACTOR element is inserted after the element pointed to by the current element pointer. If the edit mode is REPLACE, the new SET MARKER SIZE SCALE FACTOR element replaces the element pointed to by the element pointer. In either case, the element pointer is updated to point to the new element.
When the SET MARKER SIZE SCALE FACTOR element is traversed, the current marker size scale factor entry in the traversal state list set to marker size scale factor.
When the current marker size scale factor ASF is INDIVIDUAL, POLYMARKER and POLYMARKER 3 output primitives that follow in the structure network are drawn using the marker size scale factor specified. This scaling factor is multiplied by the nominal marker size defined in the workstation description table, and the nearest available size on the workstation is used.
When the current marker size scale factor ASF is BUNDLED, the effective marker size scale factor is the marker size scale factor attribute in the polymarker representation selected by the current polymarker index. In this case, the marker size scale factor set with SET MARKER SIZE SCALE FACTOR has no effect.
ERRORS
005Ignoring function, function requires state (PHOP, ∗, STOP, ∗)
SEE ALSO
SET INDIVIDUAL ASF (3P)
SET POLYMARKER REPRESENTATION (3P)
September 02, 1992