Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXFillArea2D(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXFillArea2D(3)  —  Subroutines

Name

PEXFillArea2D - 2D Fill Area Primitive

Synopsis

void PEXFillArea2D(Display ∗display, XID resource_id, PEXOCRequestType req_type, int shape_hint, int ignore_edges, unsigned int count, PEXCoord2D ∗points)

Arguments

displayA pointer to a display structure returned by a successful XOpenDisplay call. 

resource_idThe resource identifier of the renderer or structure. 

req_typeThe request type for the output command (PEXOCRender, PEXOCStore, PEXOCRenderSingle or PEXOCStoreSingle).

shape_hintThe shape of the fill area (PEXShapeComplex, PEXShapeNonConvex, PEXShapeConvex, PEXShapeUnknown).

ignore_edgesA flag that determines if surface edges are rendered (True or False).

countThe number of points. 

pointsAn array of points defining the fill area. 

Returns

None

Description

This function creates a 2D fill area output primitive. 

This function is like PEXFillArea, except that the vertices consist of only x- and y-components.  The z-component is assumed to be zero.  This primitive is two-dimensional only in that the z-components are implied.  Geometry transformations are still carried out in three dimensions.

Data Structures

See the PEXStructuresman page.

Errors

BadPEXOutputCommand
The output command contains an invalid value.

BadPEXRenderer
The specified renderer resource identifier is invalid.

BadPEXStructure
The specified structure resource identifier is invalid.

See Also

PEXSetInteriorStyle, PEXSetInteriorStyleIndex, PEXSetSurfaceColorIndex,
PEXSetSurfaceColor, PEXSetReflectionAttributes, PEXSetReflectionModel,
PEXSetSurfaceInterpMethod, PEXSetBFInteriorStyle, PEXSetBFInteriorStyleIndex,
PEXSetBFSurfaceColorIndex, PEXSetBFSurfaceColor, PEXSetBFReflectionAttributes,
PEXSetBFReflectionModel, PEXSetBFSurfaceInterpMethod, PEXSetFacetCullingMode,
PEXSetFacetDistinguishFlag, PEXSetPatternSize,
PEXSetPatternAttributes, PEXSetPatternAttributes2D, PEXSetInteriorBundleIndex,
PEXSetSurfaceEdgeFlag, PEXSetSurfaceEdgeType, PEXSetSurfaceEdgeWidth,
PEXSetSurfaceEdgeColor, PEXSetSurfaceEdgeColorIndex, PEXSetEdgeBundleIndex

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026