summaryrefslogtreecommitdiff
path: root/xc/unsupported/doc/PHIGS/man3/p354
blob: 8413ed294f7ba1fff8b02ea6f3e5b229147d0db8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
.\"##
.\" $XConsortium: p354,v 5.2 94/04/17 20:58:34 rws Exp $
.\"##
.\"## 
$XMCOPY
.\"## Copyright (c) 1990, 1991 by Sun Microsystems, Inc. 
.\"## 
.\"##                         All Rights Reserved
.\"## 
.\"## Permission to use, copy, modify, and distribute this software and its 
.\"## documentation for any purpose and without fee is hereby granted, 
.\"## provided that the above copyright notice appear in all copies and that
.\"## both that copyright notice and this permission notice appear in 
.\"## supporting documentation, and that the name of Sun Microsystems,
.\"## not be used in advertising or publicity 
.\"## pertaining to distribution of the software without specific, written 
.\"## prior permission.  
.\"## 
.\"## SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 
.\"## INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
.\"## EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
.\"## CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
.\"## USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
.\"## OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\"## PERFORMANCE OF THIS SOFTWARE.
.TH "SET PATTERN SIZE" 3P "29 February 1991"
.SH NAME
SET PATTERN SIZE \- create structure element to set the current pattern size
.IX "Attributes, Filled Area Interior Attributes" "SET PATTERN SIZE"
.IX "Filled Area Interior Attributes" "SET PATTERN SIZE"
.IX "Pattern Fill" "SET PATTERN SIZE"
.SH SYNOPSIS
.SS C Syntax
.ft B
.ta 1.25i 3i
.nf
void
pset_pat_size ( size_x, size_y )
Pfloat	size_x;	\fIpattern size x\fP
Pfloat	size_y;	\fIpattern size y\fP
.fi
.ft R
.SS Required PHIGS Operating States
(PHOP, *, STOP, *)
.SH DESCRIPTION
.SS Purpose
\s-2SET PATTERN SIZE\s+2 creates a structure element
containing a value for the current pattern width vector
and current pattern height vector attributes.
When the interior style is
\s-2PATTERN\s+2,
these attributes apply to the following output primitives:
.ta .5i +1.75i
.nf
	\(bu  \s-2FILL AREA\s+2	\(bu  \s-2NON-UNIFORM B-SPLINE SURFACE\s+2
	\(bu  \s-2FILL AREA 3\s+2	\(bu  \s-2SET OF FILL AREA SET 3 WITH DATA\s+2
	\(bu  \s-2FILL AREA SET\s+2	\(bu  \s-2TRIANGLE STRIP 3 WITH DATA\s+2
	\(bu  \s-2FILL AREA SET 3\s+2	\(bu  \s-2QUADRILATERAL MESH 3 WITH DATA \s+2
	\(bu  \s-2FILL AREA SET 3 WITH DATA\s+2
.fi
.LP
\fBNote:\fP This function places the appropriate data in the
Central Structure Store and in \s-2PEX-SI\s0 archives,
but the structure element is currently ignored during traversal.
.LP
If the current edit mode is \s-2INSERT\s+2 when \s-2SET PATTERN SIZE\s+2 is
called, the \s-2SET PATTERN SIZE\s+2 element is inserted into the currently open
structure after the element pointed to by the current element pointer. If
the edit mode is \s-2REPLACE\s+2, 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.
.SS C Input Parameter
.IP \fIsize_x\fP
The \fIx\fR coordinate of the pattern size,
specified in Modelling Coordinates (MC).
.IP \fIsize_y\fP
The \fIy\fR coordinate of the pattern size,
specified in Modelling Coordinates (MC).
.SS Execution
When the \s-2SET PATTERN SIZE\s+2 element is traversed, the
current pattern size entry in the traversal state list
is set to the element's \fIpattern size\fR.
.LP
When the interior style
(either individual or bundled, as selected by the current interior style ASF)
is set to \s-2PATTERN\s+2, 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.
.SH ERRORS
.IP 005
Ignoring function, function requires state 
(\s-2PHOP\s+2, \s-2*\s+2, \s-2STOP\s+2, \s-2*\s+2)
.SH SEE ALSO
.nf
.IP
.ta 0.5i
.SM "INQUIRE PATTERN FACILITIES (3P)"
.SM "SET PATTERN REFERENCE POINT AND VECTORS (3P)"
.SM "SET PATTERN REPRESENTATION (3P)"
.SM "SET PATTERN REPRESENTATION PLUS (3P+)"
.fi