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

GPPLET - Set Polyline End Type

GPPLET (endtype)

Purpose

Use GPPLET to insert a Set Polyline End Type structure element into the open structure following the element pointer or to replace the element pointed at by the element pointer with a Set Polyline End Type structure element depending on the current edit mode.

Flat ends are the default setting. The graPHIGS API places flat ends at the line endpoints. Round ends are semicircles centered at the line ends. The diameter of a round end is equal to the width of the line. Square ends extend half a line width past the line's endpoints and are parallel to the last line segment.

The traversal default for polyline end type is 1=FLAT

If the workstation does not support the specified polyline end type, then the polyline edge type defaults to 1=FLAT

Parameters

endtype -- specified by user, fullword integer

Polyline end type (1=FLAT, 2=ROUND, 3=SQUARE )

Error Codes

5
FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)
584
END TYPE VALUE < ONE

Related Subroutines

GPQAAF
Inquire Advanced Attribute Facilities

RCP code

201328658 (X'0C000812')


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