[go: up one dir, main page]

Menu

[72b583]: / www / doc / PS_rect.html  Maximize  Restore  History

Download this file

91 lines (91 with data), 1.5 kB

 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>PS_RECT</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><H1
><A
NAME="AEN1"
></A
>PS_RECT</H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN15"
></A
><H2
>Name</H2
>PS_rect&nbsp;--&nbsp;Draws a rectangle</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN18"
></A
><H2
>Synopsis</H2
><P
>#include &lt;pslib.h&gt;</P
><P
>void PS_rect(PSDoc *psdoc, float x, float y, float width, float height)</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN21"
></A
><H2
>DESCRIPTION</H2
><P
>Draws a rectangle with its lower left corner at
(<CODE
CLASS="PARAMETER"
>x</CODE
>, <CODE
CLASS="PARAMETER"
>y</CODE
>). The rectangle
starts and ends in its lower left corner. If this function is called
outside a path it will start a new path. If it is called within a path
it will add the rectangle as a subpath. If the last drawing operation
does not end in the lower left corner then there will be a gab in the
path.</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN26"
></A
><H2
>SEE ALSO</H2
><P
>PS_cirle(3), PS_arc(3), PS_lineto(3)</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN29"
></A
><H2
>AUTHOR</H2
><P
>This manual page was written by Uwe Steinmann <CODE
CLASS="EMAIL"
>&#60;<A
HREF="mailto:uwe@steinmann.cx"
>uwe@steinmann.cx</A
>&#62;</CODE
>.</P
></DIV
></BODY
></HTML
>