Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXSetPatternSize(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXSetPatternSize(3)  —  Subroutines

Name

PEXSetPatternSize - Set Pattern Interior Style Size

Synopsis

void PEXSetPatternSize(Display ∗display, XID resource_id, PEXOCRequestType req_type, double width, double height)

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

widthThe pattern width. 

heightThe pattern height. 

Returns

None

Description

This function creates an output primitive attribute which sets the pattern size attribute.  Only the magnitude of the specified width and height is used.  The value (width,0) is used as the pattern width vector, and the value (0,height) specifies the pattern height vector.  If the interior style is PEXInteriorStylePattern, these values plus the pattern reference point and the pattern reference vector are used to position, scale, and rotate the pattern on the surface.

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