Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/indem/iiita/Doc/
Upload File :
Current File : /var/www/html/mmishra/indem/iiita/Doc/interface_canvas.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<title>VersyPHP Documentation</title>
</head>
<body style="color: rgb(8, 38, 176); font-size: 20px; table-layout: fixed; margin-left: 35px; width: 872px; margin-top: 26px; height: 249px;" text="">
	<table style="width: 878px; height: 54px;" align="center" cellpadding="0" cellspacing="0">
  	<tbody>
    	<tr>
      	<td align="left" width="30%">
		<img src="logo.gif" align="middle" border="0" height="50" width="85">
	</td>
      	<td style="width: 45%;" align="right">
		<h1 style="font-size: 10pt;"> VESRYPDF.PHP DOCUMENATION&nbsp; </h1>
	</td>
    	</tr>
  	</tbody>
	</table>
	<h2 style="color: rgb(71, 38, 125); font-family: serif; font-size: 12pt;">VersyPDF Canvas Draving Interface</h2>

<h3 style="color: rgb(71, 38, 125); font-family: serif; font-size: 11pt;">FUNCTIONS:</h3>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>ul_color_from_rgb</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    Creates a TPDFColor structure from triple of the values.
        </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$r   -</b> [in] Specifies the intensity of the red color.
        <br><b>$g   -</b> [in] Specifies the intensity of the green color.
        <br><b>$b   -</b> [in] Specifies the intensity of the blue color.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>The return value is the resultant RGB color. </td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">$Color = ul_color_from_rgb( $r, $g, $b );</td>
        </tr>
        <tr>
        <td width="15%">Note:</td>
        <td>    The intensity for each argument is in the range 0 through 1. 
                If all three intensities are zero, the result is black. 
                If all three intensities are 1, the result is white. 
        </td></tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>ul_color_from_gray</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    Creates a TPDFColor structure from intensity of the gray.
        </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$g   -</b> [in] Specifies the intensity of the gray color.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>The return value is the resultant Gray color. </td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">$Color = ul_color_from_gray( $g );</td>
        </tr>
        <tr>
        <td width="15%">Note:</td>
        <td>    The intensity for argument is in the range 0 through 1. 
                If intensity are zero, the result is black. 
                If intensity are 1, the result is white. 
        </td></tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>ul_color_from_cmyk</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    Creates a TPDFColor structure from intensity of the CMYK.
        </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$c   -</b> [in] Specifies the intensity of the cyan color.
        <br><b>$m   -</b> [in] Specifies the intensity of the magenta color.
        <br><b>$y   -</b> [in] Specifies the intensity of the yellow color.
        <br><b>$k   -</b> [in] Specifies the intensity of the black color.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>    Creates a TPDFColor structure from intensity of the CMYK.
        </td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">$Color = ul_color_from_cmyk( $c, $m, $y, $k );</td>
        </tr>
        <tr>
        <td width="15%">Note:</td>
        <td>The intensity for each argument is in the range 0 through 1. 
            If all four intensities are zero, the result is white. 
            If all four intensities are 1, the result is black. 
</td></tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_close</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>Disposes the instance of the PaintBox and packs content.
        </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object will be disposed.
        <br><b>$Pack -</b>[in] Indicated whether content of the PaintBox will be packed.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_close( $PaintBox, $Pack );</td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_new_path</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    Clears the current path in the PaintBox. Current point becomes undefined.
        </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox    -</b>[in]  PaintBox object handle
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td> None.
        </td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_new_path( $PainBox );</td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_close_path</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    This closes a path by connecting the first and the last point
    in the path currently constructed. Calling of this procedure
    is often needed to avoid a notch in a stroked path, and to
    make "line join" work correctly in joining the first and the last points.
        </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_close_path( $PaintBox );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_clip</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    This function installs the current paths as the boundary for
    clipping of subsequent drawing. The use of the clip operator
    may require some care, because clip and eoclip operators do
    not consume the current path.
        </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_clip( $PaintBox );
        </td>
        </tr>
        <td width="15%">Note:</td>
        <td>There is no practical way of removing a clipping path, except
            by save and restore a graphical state before clipping is imposed.
</td></tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_eo_clip</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    This function installs the current paths as the boundary for
            clipping subsequent drawing and uses the "even-odd" rule for
            defining the "inside" that shows through the clipping window.
            The use of the clip operator may require some care, because
            clip and eoclip operators do not consume the current path.
        </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_eo_clip( $PaintBox );
        </td>
        </tr>

        <tr><td width="15%">Note:</td>
        <td>
            There is not practical way of removing a clipping path,
            except by saving and restoring a graphical state before
            clipping is imposed.
        </td></tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_eo_fill</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    This function uses the current path as the boundary for color filling 
                    and uses the "evenodd" rule for defining an "inside" that is painted.
        </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_eo_fill( $PaintBox );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_fill</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    This function uses the current path as the boundary for color filling 
                    and uses the "non-zero winding number" rule.
        </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_fill( $PaintBox );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_eo_fill_and_stroke</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    This function is used for the first filling the inside with
                    the current fill color ( uses the "non-zero winding number"
                    rule ), and then stroking the path with the current stroke
                    color. PDF's graphics state maintains separate colors to fill
                    and stroke operations, thus these combined operators are available.
        </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_eo_fill_and_stroke( $PaintBox );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_fill_and_stroke</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
    This function is used for the first filling the inside with
    the current fill color, ( uses the "evenodd" rule for
    defining an "inside" that is painted ) and then stroking the
    path with the current stroke color. PDF's graphics state
    maintains separate colors to fill and stroke operations, thus
    these combined operators are available.
        </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_fill_and_stroke( $PaintBox );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_stroke</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
    This function strokes the current paths by the current stroke color 
    and current line width.
        </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_stroke( $PainBox );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_moveto</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
        This procedure moves the current point to the location specified by ( x, y ).
        </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$X -</b> [in]  The logical x-coordinate of the new position. 
        <br><b>$Y -</b> [in]  The logical y-coordinate of the new position.   
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_moveto( $PainBox, $X, $Y );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_lineto</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This procedure adds a line segment to the path, starting at
            the current point and ending at point ( x, y ).
            Current point sets to ( x, y ).
        </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$X -</b> [in]  The logical x-coordinate of the new position. 
        <br><b>$Y -</b> [in]  The logical y-coordinate of the new position.   
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_line_to( $PaintBox, $X, $Y );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_curveto</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
    This procedure adds a Bezier cubic curve segment to the path starting at 
    the current point as ( x0, y0 ), using two points ( x1, y1 ) and ( x2, y2 ) 
    as control points, and terminating at point ( x3, y3 ). The new current 
    point will be ( x3, y3 ). If there is no current point, an error will result.
        </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$x1 -</b> [in]  The logical x-coordinate of the first control point position. 
        <br><b>$y1 -</b> [in]  The logical y-coordinate of the first control point position. 
        <br><b>$x2 -</b> [in]  The logical x-coordinate of the second control point position. 
        <br><b>$y2 -</b> [in]  The logical y-coordinate of the second control point position. 
        <br><b>$x3 -</b> [in]  The logical x-coordinate of the new position. 
        <br><b>$y3 -</b> [in]  The logical y-coordinate of the new position. 
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_curve_to( $PainBox, $x1, $y1, $x2, $y2, $x3, $y3 );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_rectangle</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This function draws a rectangle with one corner at ( x1, y1 ) and second at ( x2, y2 ).
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$x1 -</b> [in]  The logical x-coordinate of the first control point position. 
        <br><b>$y1 -</b> [in]  The logical y-coordinate of the first control point position. 
        <br><b>$x2 -</b> [in]  The logical x-coordinate of the second control point position. 
        <br><b>$y2 -</b> [in]  The logical y-coordinate of the second control point position. 
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_rectangle( $PaintBox, $x1, $y1, $x2, $y2 );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_circle</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This procedure creates a circular path centered at (X, Y)
            with radius "Rin the counter-clock-wise direction.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$X -</b>  [in] The X-coordinate of the center of the circle.
        <br><b>$Y -</b>  [in] The Y-coordinate of the center of the circle.
        <br><b>$R -</b>  [in] The radius of the circle.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_circle( $PaintBox, $X, $Y, $R );
        </td>
        </tr>
        <tr>
        <td width="15%">Note:</td>
        <td>   If you need a circle drawn in the clock-wise direction,
               please use PBXArc. This function performs a move to angle 0
               (right edge) of the circle. Current point also will be at the
               same location after the call.
</td></tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_ellipse</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This procedure creates an ellipse path specified by top left
            point at pixel coordinates ( x1, y1 ) and the bottom right
            point at ( x2, y2 ) in the counter-clock-wise direction.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$x1 -</b>[in] The x-coordinate of the upper-left corner of the bounding rectangle.
        <br><b>$y1 -</b>[in] The y-coordinate of the upper left corner of the bounding rectangle.
        <br><b>$x2 -</b>[in] The x-coordinate of the lower-right corner of the bounding rectangle.
        <br><b>$y2 -</b>[in] The y-coordinate of the lower-right corner of the bounding rectangle.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_ellipse( $PaintBox, $x1, $y1, $x2, $y2 );
        </td>
        </tr>
        <tr>
        <td width="15%">Note:</td>
        <td>       If you need an ellipse drawn in the clock-wise direction,
       please use PBXArc. This function performs a move to angle 0
       (right edge) of the ellipse. Current point also will be at
       the same location after the call.
</td></tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_arc</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            Use Arc to create an elliptically curved path. The arc
            traverses the perimeter of an PBXEllipse which is bounded by
            the points ( x1, y1 ) and ( x2, y2 ). The drawn arc is
            following the perimeter of the ellipse , counterclockwise,
            from the starting point to the ending point. The starting
            point is defined by the intersection of the ellipse and a
            line is defined by the center of the ellipse and ( x3, y3).
            The ending point is defined by the intersection of the
            ellipse and a line is defined by the center of the ellipse
            and ( x4, y4 ).
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$x1 -</b>[in] Specifies the x-coordinate of the upper-left corner of the bounding rectangle.
        <br><b>$y1 -</b>[in] Specifies the y-coordinate of the upper-left corner of the bounding rectangle.
        <br><b>$x2 -</b>[in] Specifies the x-coordinate of the lower-right corner of the bounding rectangle.
        <br><b>$y2 -</b>[in] Specifies the y-coordinate of the lower-right corner of the bounding rectangle.
        <br><b>$x3 -</b>[in] Specifies the x-coordinate of the point that defines the arc's starting point.
        <br><b>$y3 -</b>[in] Specifies the y-coordinate of the point that defines the arc's starting point .
        <br><b>$x4 -</b>[in] Specifies the x-coordinate of the point that defines the arc's endpoint.
        <br><b>$y4 -</b>[in] Specifies the y-coordinate of the point that defines the arc's endpoint.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_arc( $PaintBox, $x1, $y1, $x2, $y2, $x3, $y3, $x4, $y4 );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_arc2</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
    Use Arc to create an elliptically curved path. The arc
    traverses the perimeter of an ellipse which is bounded by the
    points ( x1, y1 ) and ( x2, y2 ). The drawn arc is following
    the perimeter of the ellipse, counterclockwise, from the
    starting point to the ending point. The starting point is
    defined by the intersection of the ellipse and a line is
    defined by BegAngle and EndAngle, specified in degrees.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$x1 -</b>[in] Specifies the x-coordinate of the upper-left corner of the bounding rectangle.
        <br><b>$y1 -</b>[in] Specifies the y-coordinate of the upper-left corner of the bounding rectangle.
        <br><b>$x2 -</b>[in] Specifies the x-coordinate of the lower-right corner of the bounding rectangle.
        <br><b>$y2 -</b>[in] Specifies the y-coordinate of the lower-right corner of the bounding rectangle.
        <br><b>$BeginAngle -</b>[in] Specifies the starting angle in degrees relative to the x-axis.
        <br><b>$EndAngle -</b>[in] Specifies the ending angle in degrees relative to the x-axis.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_arc2( $PaintBox, $x1, $y1, $x2, $y2, $BeginAngle, $EndAngle );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_pie</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
    Use Pie to append a pie-shaped wedge on the path. The wedge
    is defined by the ellipse bounded by the rectangle determined
    by the points ( x1, y1 ) and ( x2, y2). The drawn section is
    determined by two lines radiating from the center of the
    ellipse through the points ( x3, y3 ) and ( x4, y4 )
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$x1 -</B>[in] Specifies the x-coordinate of the upper-left corner of the bounding rectangle.
        <br><b>$y1 -</B>[in] Specifies the y-coordinate of the upper-left corner of the bounding rectangle.
        <br><b>$x2 -</b>[in] Specifies the x-coordinate of the lower-right corner of the bounding rectangle.
        <br><b>$y2 -</b>[in] Specifies the y-coordinate of the lower-right corner of the bounding rectangle.
        <br><b>$x3 -</b>[in] Specifies the x-coordinate of the point that defines the arc's starting point.
        <br><b>$y3 -</b>[in] Specifies the y-coordinate of the point that defines the arc's starting point .
        <br><b>$x4 -</b>[in] Specifies the x-coordinate of the point that defines the arc's endpoint.
        <br><b>$y4 -</b>[in] Specifies the y-coordinate of the point that defines the arc's endpoint.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_pie( $PaintBox, $x1, $y1, $x2, $y2, $x3, $y3, $x4, $y4 );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_pie2</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
    Use Pie to append a pie-shaped wedge on the path. The wedge
    is defined by the ellipse bounded by the rectangle determined
    by the points ( x1, y1 ) and ( x2, y2). The drawn section is
    determined by two lines ( BegAngle and EndAngle, specified in degrees).
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$x1 -</b>[in] The x-coordinate of the upper-left corner of the rectangle.
        <br><b>$y1 -</b>[in] The y-coordinate of the upper-left corner of the rectangle.
        <br><b>$x2 -</b>[in] The x-coordinate of the lower-right corner of the rectangle.
        <br><b>$y2 -</b>[in] The y-coordinate of the lower-right corner of the rectangle.
        <br><b>BeginAngle -</b>[in] Specifies the starting angle in degrees relative to the x-axis.
        <br><b>$EndAngle -</b>[in] Specifies the ending angle in degrees relative to the x-axis.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_pie2( $PaintBox, $x1, $y1, $x2, $y2, $beginangle, $endangle );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_rect_rotated</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
    This function draws a rectangle of size ( w, h ) with one corner at ( x, y ), 
    with an orientation argument, angle, specified in degrees.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$X -</b> [in]  The x-coordinate of the lower-left corner of the rectangle. 
        <br><b>$Y -</b> [in]  The y-coordinate of the lower-left corner of the rectangle. 
        <br><b>$W -</b> [in]  The width of the rectangle. 
        <br><b>$H -</b> [in]  The height of the rectangle. 
        <br><b>BeginAngle -</b>[in] Specifies the starting angle in degrees relative to the x-axis.
        <br><b>$EndAngle -</b>[in] Specifies the ending angle in degrees relative to the x-axis.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_rect_rotated( $PaintBox, $X, $Y, $W, $H, $BeginAngle, $EndAngle );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_round_rect</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
    Adds a rectangle with rounded corners to path. The rectangle
    will have edges defined by the points ( x1, y1 ), ( x2, y1 ),
    ( x2, y2 ), ( x1, y2 ), but the corners will be shaved to
    create a rounded appearance. The curve of the rounded corners
    matches the curvature of an ellipse with width x3 and height y3
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$x1 -</b>[in] The x-coordinate of the upper-left corner of the rectangle.
        <br><b>$y1 -</b>[in] The y-coordinate of the upper-left corner of the rectangle.
        <br><b>$x2 -</b>[in] The x-coordinate of the lower-right corner of the rectangle.
        <br><b>$y2 -</b>[in] The y-coordinate of the lower-right corner of the rectangle.
        <br><b>$x3 -</b>[in] Specifies the width of the ellipse used to draw the rounded corners.
        <br><b>$y3 -</b>[in] Specifies the height of the ellipse used to draw the rounded corners.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_round_rect( $PaintBox, $x1, $y1, $x2, $y2, x3, y3 );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_state_store</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This function pushes a copy of the entire graphics state onto the stack.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_state_store( $PaintBox );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_state_restore</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
    This function restores the entire graphics state to its former value by 
    popping it from the stack.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_state_restore( $PaintBox );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_no_dash</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This function resets the dash pattern back to none, i.e., solid line.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_no_dash( $PaintBox ); 
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_set_dash</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This function resets the dash pattern back to none, i.e., solid line.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$Dash -</b> [in]  Dash pattern style.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_set_dash( $PaintBox, $Dash );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_set_flatness</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
    The flatness tolerance controls the maximum permitted
    distance in device pixels between the mathematically correct
    path and an approximation constructed with straight line segments.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$Flatness -</b>[in] The flatness tolerance value.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_set_flatness( $PaintBox, $FlatNess );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_set_color</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This function sets both filling and stroking color to the specified values.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$Color -</b>[in] The color of the filling and stroking
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_set_color( $PaintBox, $Color );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_set_fill_color</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This function sets filling color to the specified values .
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$Color -</b>[in] The color of the filling.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_set_fill_color( $PaintBox, $Color );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_set_stroke_color</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This function sets stroking color to the specified values.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$Color -</b>[in] The color of the stroke.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_set_stroke_color( $PaintBox, $Color );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_set_line_width</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This procedure sets the current line width to the value specified in points.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$LineWidth   -</b> [in]  Current line width.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_set_line_width( $PaintBox, $LineWidth );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_set_line_cap</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            Specifies line cap style.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$LineCap -</b>[in] Element of the TPDFLineCap enumeration that specifies the line cap.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_set_line_cap( $PaintBox, $LineCap );
        </td>
        </tr>
        <tr><td width="15%"><b>See Also :</b></td>
        <td>Line cap style  ( LC_* ) constants
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_set_line_join</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            The SetLineJoin method sets the line join for this PaintBox.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$LineJoin    -</b> [in]  Element of the TPDFLineJoin enumeration that specifies 
                        the join style used at the end of a line segment that 
                        meets another line segment.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_set_line_join( $PaintBox, $LineJoin );
        </td>
        </tr>
        <tr><td width="15%"><b>See Also :</b></td>
        <td>Line Join style ( LJ_* ) constants.
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_set_graphic_state</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This function sets extended graphic state which can be created with function pdfext_graphic_state_create.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$Index -</b>[in] Index of the created extended graphic state returned from function PDFExtGraphicStateCreate
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_set_graphics_state( $PaintBox, $Index );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_get_width</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This function returns width of the PaintBox.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>Width of the PaintBox in logical units.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">    $Width = pbx_set_width( $PaintBox );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_get_height</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This function returns height of the PaintBox.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>Height of the PaintBox in logical units.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">$Height = pbx_height( $PaintBox );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_show_image</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This function places the image data of size ( Width , Height
            ) with one corner at (x,y), and angle, specified in degrees
            (ImageIndex is returned by one of the function appending
            image to PDF document) into the current content stream for
            the page
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$Index -</b>[in] Index of the image appended to PDF document early.
        <br><b>$X - </b>[in] The x-coordinate of the lower-left corner of the image.
        <br><b>$Y - </b>[in] The y-coordinate of the lower-left corner of the image.
        <br><b>$Angle - </b>[in] Specifies the angle, in degrees, between the escapement vector and the x-axis.
        <br><b>$Width - </b>[in] The width of the image.
        <br><b>$Height -</b>[in] The height of the image.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_show_image( $PaintBox, $Index, $X, $Y, $W, $H, $Angle );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_set_active_font_with_charset</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This function sets the active font for text operations.( For MS Windows only )
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$Index -</b> [in]  Index of the font appended to PDF document early.
        <br><b>$FontSize -</b> [in]  Size of output text, in units
        <br><b>$Charset -</b> [in]  Charset of the output text
        <br><b>$Underline -</b> [in]  Specifies an underlined font if set to true. 
        <br><b>$StrikeOut -</b> [in]  Specifies an strikeout font if set to true. 
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_set_active_font_with_charset( $PaintBox, $Index, $FontSize, $CarSet, $Underline, $StrikeOut );
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_set_active_font</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This function sets the active font for text operations.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$Index -</b> [in]  Index of the font appended to PDF document early.
        <br><b>$FontSize -</b> [in]  Size of output text, in units
        <br><b>$Underline -</b> [in]  Specifies an underlined font if set to true. 
        <br><b>$StrikeOut -</b> [in]  Specifies an strikeout font if set to true. 
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_set_active_font( $PaintBox, $Index, $Size, $UnderLine, $StrikeOut );</td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_set_character_spacing</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This function sets the additional space that should be inserted between characters.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$Spacing -</b> [in]  Size between character in points
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_set_character_spacing( $PaintBox, $Spacing );</td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_set_horizontal_scaling</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This function sets the horizontal scaling factor in a
            percentage. This essentially expands or compresses the
            horizontal dimension of the string. The default value for
            this parameter is 100 (%).
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>Scale - </b>[in] horizontal scaling factor in a percentage.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_set_horizontal_scaling( $PaintBox, $Scaling );</td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_set_text_rendering_mode</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This function sets the mode that determines how the outline
            character is used. By default, the outline character is used
            for filling operations by which inside the outline path is
            painted solidly with the current fill color. This may be
            changed by calling this function.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$Mode -</b>[in] Rendering mode
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_set_text_rendering_mode( $PaintBox, $Mode );</td>
        </tr>
        <tr><td width="15%"><b>Note :</b></td>
        <td>
            Available modes at current time:
        <table>
           Mode   Action
           -----  --------------------------------------------------------
            0      Fill text.
            1      Stroke text.
            2      Fill, then stroke, text.
            3      Neither fill nor stroke text (invisible).
            4      Fill text and add to path for clipping.
            5      Stroke text and add to path for clipping.
            6      Fill , then stroke , text and add to path for clipping.
            7      Add text to path for clipping.
        </table>
        </td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_set_word_spacing</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            This procedure sets the additional space (in points) that should be 
            inserted between words, i.e., for every space character found in the text string.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$Spacing -</b> [in]  Additional space (in points) that should be inserted between words
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_set_word_spacing( $PaintBox, $Spacing );</td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_text_out</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            Writes a character string at the specified location using the currently selected font.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$X - </b>[in]  Specifies the x-coordinate of the starting point of the text.
        <br><b>$Y - </b>[in]  Specifies the y-coordinate of the starting point of the text.
        <br><b>$TextStr -</b> [in]  Pointer to the string to be drawn. Must be zero terminated.
        <br><b>$Orientation -</B> [in]  Specifies the angle, in degrees, between the escapement vector and the x-axis of the device. 
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_text_out( $PaintBox, $X, $Y, $Orientation, $TextStr );</td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_unicode_text_out</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            Writes a character string at the specified location using the currently selected font.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$X - </b>[in]  Specifies the x-coordinate of the starting point of the text.
        <br><b>$Y - </b>[in]  Specifies the y-coordinate of the starting point of the text.
        <br><b>$TextStr -</b> [in]  Pointer to the string to be drawn. Must be zero terminated.
        <br><b>$Orientation -</B> [in]  Specifies the angle, in degrees, between the escapement vector and the x-axis of the device. 
        <br><b>$Len -</b> [in]  Specifies the length of the string. It is a WORD count.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>None.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">pbx_unicode_text_out( $PaintBox, $X, $Y, $Orientation, $Text, $Len );</td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_get_text_width</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            Returns the width of a text string as it would be displayed in the current font.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$Text -</b> [in]  Pointer to the string to be drawn. Must be zero terminated.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>Width of the text.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">$Width = pbx_get_text_width( $PaintBox, $Text );</td>
        </tr>
</table><br>

<table style="color : black; font-family : serif; font-size : 10pt; width : 100%;" border="1">
<b>pbx_get_unicode_width</b>
   		<tr>
            <td width="15%"><b>Description :</b></td>
    		<td>    
            Returns the width of a text string as it would be displayed in the current font.
            </td>
        </tr>
   		<tr><td width="15%"><b>Parameters :</b></td>
        <td><b>$PaintBox -</b>[in] PaintBox object handle
        <br><b>$Text -</b> [in]  Pointer to the string to be drawn. Must be zero terminated.
        <br><b>$Len -</b> [in]  Specifies the length of the string. It is a WORD count.
        </td>
        </tr>
   		<tr> <td width="15%"><b>Returns:</b></td>
        <td>Width of the text.</td>
        </tr>
        <tr><td width="15%"><b>Use :</b></td>
        <td style="color : brown;">$Width = pbx_get_unicode_width( $PaintBox, $Text, $Len );</td>
        </tr>
</table><br>


</body></html>