Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXGDP2D(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXGDP2D(3)  —  Subroutines

Name

PEXGDP2D - 2D Generalized Drawing Primitive

Synopsis

void PEXGDP2D(Display ∗display, XID resource_id, PEXOCRequestType req_type, long gdp_id, unsigned int count, PEXCoord2D ∗points, unsigned long length, char ∗data)

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).

gdp_idThe identifier of the GDP. 

countThe number of points. 

pointsThe points used by the GDP. 

lengthThe length, in bytes, of the data. 

dataAdditional data used by the GDP. 

Returns

None

Description

This function creates a 2D generalized drawing primitive. 

The complete interface and behavior for each GDP identifier should be available with the individual PEX server implementations.  There are no standard PEX GDPs.  If the specified GDP identifier is not supported, then the output command is ignored. 

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

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