Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Escape! V3.0 - <b>hpcircle()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
hpCircle()

Draws circle of specified size, thickness, shade, pattern


Syntax

hpCircle(<nTop>, <nLeft>, <nRadius>, <nThick>, <nShade>, <nPattern>, ;
   <cUnits>)


Parameters

<nTop>
Row position of center of circle.

<nLeft>
Column position of center of circle.

<nRadius>
Radius of circle.

<nThick>
Thickness of outline border (in dots).

<nShade>
The percent of gray shading used to fill the circle with. There are eight
shading levels. To specify a shade use any value from 1 to 100. If omitted,
<nShade> will default to 10.

<nPattern>
Specifies the type of fill pattern used to draw the circle. There are six
different fill patterns to choose from. To specify a pattern use any value
from 1 to 6. If omitted, <nPattern> will default to pattern 1.

<cUnits>
The units of measurement to be used for positioning. Defaults to "R".
Values can be:
"R"     Rows and Columns
"I"     Inches
"M"     Millimeters

Returns
0 if circle successfully drawn, -1 otherwise.

Remarks
hpCircle() draws a circle of specified size, thickness, shade, and pattern.

Support By
All HP LaserJet printers.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson