[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference

SET PATTERN SIZE (PHOP,*,STOP,*)

Purpose

Use Set Pattern Size to insert a Set Pattern Size element into the open structure following the element pointer or replace the element pointed at by the element pointer with a Set Pattern Size structure element, depending on the current edit mode.

This structure element specifies the pattern size dimensions. At structure traversal time, the graPHIGS API uses the specified pattern size in conjunction with the pattern reference point and pattern reference vectors to display fill area and fill area set primitives when the currently selected interior style is set to PATTERN (Set Interior Style). The graPHIGS API uses only the magnitudes of the pattern size components. If either of the components is zero, then the graPHIGS API ignores this structure element.

The traversal default value for pattern size is (1.0,1.0).

Note:

The graPHIGS API currently ignores this structure element at structure traversal time.

Language Bindings

C

pset_pat_size (pat_size)

Input Parameters

const Pfloat_size *pat_size
Pattern size in MC.

FORTRAN

PSPA (szx, szy)

Input Parameters

real szx
x dimension of pattern size in MC.

real szy
y dimension of pattern size in MC.

Errors

5
Function Requires State (PHOP,*,STOP,*)

Related Subroutines

  • Set Pattern Reference Point

  • Set Pattern Reference Point And Vectors


  • [ Previous | Next | Contents | Glossary | Home | Search ]