Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXSetPatternAttributes(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXSetPatternAttributes(3)  —  Subroutines

Name

PEXSetPatternAttributes - Set Pattern Interior Style Attributes

Synopsis

void PEXSetPatternAttributes(Display ∗display, XID resource_id, PEXOCRequestType req_type, PEXCoord ∗ref_point, PEXVector ∗vector1, PEXVector ∗vector2)

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

ref_pointThe pattern reference point. 

vector1The first pattern reference vector. 

vector2The second pattern reference vector. 

Returns

None

Description

This function creates an output primitive attribute which sets the pattern reference point and both pattern reference vectors attributes, in modeling coordinates.  If the surface interior style is PEXInteriorStylePattern, the pattern reference point and the pattern reference vectors are used to to position and scale the pattern on the surface. If either of the pattern reference vectors are zero length or if the vectors are parallel, the output command is ignored.

Data Structures

See the PEXStructuresman page.

Errors

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