diff options
Diffstat (limited to 'zinclib.d/doc/html/classZincPath.html')
-rw-r--r-- | zinclib.d/doc/html/classZincPath.html | 501 |
1 files changed, 501 insertions, 0 deletions
diff --git a/zinclib.d/doc/html/classZincPath.html b/zinclib.d/doc/html/classZincPath.html new file mode 100644 index 0000000..a45ede8 --- /dev/null +++ b/zinclib.d/doc/html/classZincPath.html @@ -0,0 +1,501 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>IntuiKit: ZincPath class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.3 --> +<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>ZincPath Class Reference</h1><code>#include <<a class="el" href="ZincPath_8hpp-source.html">ZincPath.hpp</a>></code> +<p> +<a href="classZincPath-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> +Path.hpp zinclib<p> +This software is the property of IntuiLab SA, France. See at the end of the file for the complete copyright notice<p> +Here we defines The ZincPath object<p> +08/03/05<p> +Contributors: Benoit Peccatte <<a href="mailto:peccatte@intuilab.com">peccatte@intuilab.com</a>> +<p> +<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classZincPath.html#a0">ZincPath</a> (double x, double y)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classZincPath.html#a1">~ZincPath</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classZincPath.html#a2">close</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classZincPath.html#a3">lineTo</a> (double x, double y)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classZincPath.html#a4">curveTo</a> (double cx1, double cy1, double cx2, double cy2, double x, double y)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classZincPath.html#a5">cubicBezierTo</a> (double cx1, double cy1, double cx2, double cy2, double x, double y)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classZincPath.html#a6">quadraticBezierTo</a> (double cx, double cy, double x, double y)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classZincPath.html#a7">arcTo</a> (double rx, double ry, double xAxisRotation, bool largeArc, bool sweepFlag, double x, double y)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>Tcl_Obj * </td><td class="memItemRight" valign=bottom><a class="el" href="classZincPath.html#a8">getTable</a> ()</td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="ZincPath::ZincPath"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> ZincPath::ZincPath </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>y</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The public constructor<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>x,y</em> </td><td>the initial point </td></tr> + </table> +</dl> + </td> + </tr> +</table> +<a name="a1" doxytag="ZincPath::~ZincPath"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> ZincPath::~<a class="el" href="classZincPath.html">ZincPath</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The public destructor<p> +<dl compact><dt><b>Warning:</b></dt><dd>Do not destroy a ZincPath if <a class="el" href="classZinc.html">Zinc</a> is not loaded </dd></dl> + </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a7" doxytag="ZincPath::arcTo"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void ZincPath::arcTo </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double </td> + <td class="mdname" nowrap> <em>rx</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>ry</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>xAxisRotation</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>largeArc</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>sweepFlag</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>y</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw an arc from current point to x,y<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>rx</em> </td><td>x-radius of ellipse </td></tr> + <tr><td valign=top><em>ry</em> </td><td>y-radius of ellipse </td></tr> + <tr><td valign=top><em>xAxisRotation</em> </td><td>rotation of ellipse </td></tr> + <tr><td valign=top><em>largeArc</em> </td><td>true if the large part of the ellipse </td></tr> + <tr><td valign=top><em>sweepFlag</em> </td><td>true for a positive angle direction for the drawing </td></tr> + <tr><td valign=top><em>x,y</em> </td><td>destination point </td></tr> + </table> +</dl> + </td> + </tr> +</table> +<a name="a2" doxytag="ZincPath::close"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void ZincPath::close </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Close current path </td> + </tr> +</table> +<a name="a5" doxytag="ZincPath::cubicBezierTo"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void ZincPath::cubicBezierTo </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double </td> + <td class="mdname" nowrap> <em>cx1</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>cy1</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>cx2</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>cy2</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>y</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw a cubic bezier using specified control and destination points<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>cx1,cy1</em> </td><td>first control point </td></tr> + <tr><td valign=top><em>cx2,cy2</em> </td><td>second control point </td></tr> + <tr><td valign=top><em>x,y</em> </td><td>destination point </td></tr> + </table> +</dl> + </td> + </tr> +</table> +<a name="a4" doxytag="ZincPath::curveTo"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void ZincPath::curveTo </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double </td> + <td class="mdname" nowrap> <em>cx1</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>cy1</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>cx2</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>cy2</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>y</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw a cubic bezier using specified control and destination points call cubicBezierTo<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>cx1,cy1</em> </td><td>first control point </td></tr> + <tr><td valign=top><em>cx2,cy2</em> </td><td>second control point </td></tr> + <tr><td valign=top><em>x,y</em> </td><td>destination point </td></tr> + </table> +</dl> + </td> + </tr> +</table> +<a name="a8" doxytag="ZincPath::getTable"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> Tcl_Obj * ZincPath::getTable </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return a Tcl_Obj* containing a list of coords points It's up to the caller to delete the resulting table<p> +<dl compact><dt><b>Returns:</b></dt><dd>a Tcl_Obj* of type list </dd></dl> + </td> + </tr> +</table> +<a name="a3" doxytag="ZincPath::lineTo"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void ZincPath::lineTo </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>y</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw a line from current point to next point<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>x,y</em> </td><td>next point </td></tr> + </table> +</dl> + </td> + </tr> +</table> +<a name="a6" doxytag="ZincPath::quadraticBezierTo"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void ZincPath::quadraticBezierTo </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double </td> + <td class="mdname" nowrap> <em>cx</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>cy</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>y</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw a quadratic bezier using specified control and destination point<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>cx1,cy1</em> </td><td>first control point </td></tr> + <tr><td valign=top><em>cx2,cy2</em> </td><td>second control point </td></tr> + <tr><td valign=top><em>x,y</em> </td><td>destination point </td></tr> + </table> +</dl> + </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="ZincPath_8hpp-source.html">ZincPath.hpp</a><li><a class="el" href="ZincPath_8cpp.html">ZincPath.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 18 17:40:45 2005 for IntuiKit by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.3 </small></address> +</body> +</html> |