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

GPLWSC - Set Linewidth Scale Factor

GPLWSC (lwidth)

Purpose

Use GPLWSC to insert a Set Linewidth Scale Factor structure element into the open structure following the element pointer or to replace the element pointed at by the element pointer with a Set Linewidth Scale Factor structure element depending on the current edit mode.

This structure element specifies the width of the line as a fraction of the nominal. The device support multiplies this scale factor times the nominal line width on the corresponding device to determine the requested width. The graPHIGS API maps the calculate value to the closest width available on the device. A scale factor of 1.0 generates a nominal size line on any workstation. At structure traversal, the graPHIGS API uses this scale factor when the line width scale factor aspect source flag is set to 2=INDIVIDUAL

The traversal default for linewidth scale factor is a linewidth scale factor of 1.0.

Parameters

lwidth -- specified by user, short floating-point number

Line width scale factor.

Error Codes

5
FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)

Related Subroutines

GPASF
Attribute Source Flag Setting
GPQPLF
Inquire Polyline Facilities
GPQPLR
Inquire Predefined Polyline Representation
GPQXLR
Inquire Extended Polyline Representation
GPXPLR
Set Extended Polyline Representation

RCP code

201328642 (X'0C000802')


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