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

GPEF - Set Edge Flag

GPEF (edgefg)

Purpose

Use GPEF to insert a Set Edge Flag structure element into the open structure following the element pointer or to replace the element pointed at by the element pointer with a Set Edge Flag structure element depending on the current edit mode.

This structure element indicates whether or not to draw the graPHIGS API draws the edge of subsequent polygon primitives during structure traversal. The graPHIGS API uses the specified value if the edge flag aspect source flag is set to 2=INDIVIDUAL

An edge flag of 3=GEOMETRY_ONLY forces the graPHIGS API to raster edges of polygons using a line algorithm as opposed to an area algorithm. This guarantees that a line is drawn coincident with the boundary of a polygon after a polygon is drawn.

The traversal default edge flag is 1=OFF

If the workstation does not support the specified edge flag value, then the edge flag defaults to 1=OFF

Parameters

edgefg -- specified by user, fullword integer

Edge flag (1=OFF, 2=ON, 3=GEOMETRY_ONLY )

Error Codes

5
FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)
311
EDGE FLAG VALUE IS INVALID

Related Subroutines

GPASF
Attribute Source Flag Setting
GPQAAF
Inquire Advanced Attribute Facilities
GPQEF
Inquire Edge Facilities
GPQPER
Inquire Predefined Edge Representation

RCP code

201328900 (X'0C000904')


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