<!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 -- Draws a rectangle</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN18"
></A
><H2
>Synopsis</H2
><P
>#include <pslib.h></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"
><<A
HREF="mailto:uwe@steinmann.cx"
>uwe@steinmann.cx</A
>></CODE
>.</P
></DIV
></BODY
></HTML
>