Purpose
Use Set Edgewidth Scale Factor to insert a Set Edgewidth Scale Factor structure element into the open structure following the element pointer or replace the element pointed at by the element pointer with a Set Edgewidth Scale Factor structure element, depending on the current edit mode.
This structure element specifies a value that the graPHIGS API uses to determine how wide to draw the edges of subsequent output primitives to which this attribute applies. At structure traversal time, the graPHIGS API uses this scale factor to determine the width of the edge when the edgewidth scale factor aspect source flag is set to INDIVIDUAL (Set Individual ASF).
The edge scale factor element specifies the edge's width as a fraction of the nominal edgewidth. The device support multiplies this scale factor times the nominal width of a line on the corresponding device to determine the requested width. The graPHIGS API maps the calculated value to the closest width available on the device. A scale factor value of 1.0, which is the traversal default, generates a nominal size line on any workstation.
Language Bindings
pset_edgewidth (edgewidth) |
PSEWSC (ewidth) |
Errors
Related Subroutines