Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SET PATTERN SIZE(3P)  —  Kubota Pacfic Computer Inc. (29 February 1991)

NAME

SET PATTERN SIZE − create structure element to set the current pattern size

SYNOPSIS

C Syntax

void
pset_pat_size ( size_x, size_y )
Pfloatsize_x;pattern size x
Pfloatsize_y;pattern size y

Required PHIGS Operating States

(PHOP, ∗, STOP, ∗)

DESCRIPTION

Purpose

SET PATTERN SIZE creates a structure element containing a value for the current pattern width vector and current pattern height vector attributes.  When the interior style is PATTERN, these attributes apply to the following output primitives:

•  FILL AREA•  NON-UNIFORM B-SPLINE SURFACE
•  FILL AREA 3•  SET OF FILL AREA SET 3 WITH DATA
•  FILL AREA SET•  TRIANGLE STRIP 3 WITH DATA
•  FILL AREA SET 3•  QUADRILATERAL MESH 3 WITH DATA
•  FILL AREA SET 3 WITH DATA

Note: This function places the appropriate data in the Central Structure Store and in PEX-SI archives, but the structure element is currently ignored during traversal. 

If the current edit mode is INSERT when SET PATTERN SIZE is called, the SET PATTERN SIZE element is inserted into the currently open structure after the element pointed to by the current element pointer. If the edit mode is REPLACE, the new element replaces the element pointed to by the element pointer. In either case, the element pointer is updated to point to the new element. 

C Input Parameter

size_xThe x coordinate of the pattern size, specified in Modelling Coordinates (MC). 

size_yThe y coordinate of the pattern size, specified in Modelling Coordinates (MC). 

Execution

When the SET PATTERN SIZE element is traversed, the current pattern size entry in the traversal state list is set to the element’s pattern size. 

When the interior style (either individual or bundled, as selected by the current interior style ASF) is set to PATTERN, the attribute is used in conjunction with the current pattern reference point and vectors for the area-defining primitives that follow in the structure network. 

ERRORS

005Ignoring function, function requires state (PHOP, ∗, STOP, ∗)

SEE ALSO

INQUIRE PATTERN FACILITIES (3P)
SET PATTERN REFERENCE POINT AND VECTORS (3P)
SET PATTERN REPRESENTATION (3P)
SET PATTERN REPRESENTATION PLUS (3P+)

September 02, 1992

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