diff options
Diffstat (limited to 'zinclib.d/doc/html/ZincPath_8hpp-source.html')
-rw-r--r-- | zinclib.d/doc/html/ZincPath_8hpp-source.html | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/zinclib.d/doc/html/ZincPath_8hpp-source.html b/zinclib.d/doc/html/ZincPath_8hpp-source.html new file mode 100644 index 0000000..c79af5f --- /dev/null +++ b/zinclib.d/doc/html/ZincPath_8hpp-source.html @@ -0,0 +1,64 @@ +<!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.hpp Source File</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.hpp</h1><a href="ZincPath_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 +00015 <span class="preprocessor">#include "<a class="code" href="ZincTypes_8hpp.html">ZincTypes.hpp</a>"</span> +00016 +00017 <span class="preprocessor">#include <list></span> +00018 <span class="preprocessor">#include <tcl.h></span> +00019 +00020 <span class="preprocessor">#ifndef ZINC_PATH</span> +00021 <span class="preprocessor"></span><span class="preprocessor">#define ZINC_PATH</span> +00022 <span class="preprocessor"></span> +<a name="l00023"></a><a class="code" href="classZincPath.html">00023</a> <span class="keyword">class </span><a class="code" href="classZincPath.html">ZincPath</a> +00024 { +00025 <span class="keywordtype">double</span> firstX, firstY; <span class="comment">//first point's coordinate</span> +00026 <span class="keywordtype">double</span> lastX, lastY; <span class="comment">//last point's coordinate</span> +00027 Tcl_Obj* path; <span class="comment">//list of points</span> +00028 +00035 <span class="keyword">inline</span> <span class="keywordtype">void</span> addPoint (<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">bool</span> c); +00036 +00051 <span class="keywordtype">void</span> convertFromSvg (<span class="keywordtype">double</span> x0, <span class="keywordtype">double</span> y0, <span class="keywordtype">double</span> &rx, <span class="keywordtype">double</span> &ry, <span class="keywordtype">double</span> &phi, +00052 <span class="keywordtype">bool</span> larcgeArc, <span class="keywordtype">bool</span> sweep, <span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, +00053 <span class="keywordtype">double</span> &cx, <span class="keywordtype">double</span> &cy, <span class="keywordtype">double</span> &theta, <span class="keywordtype">double</span> &delta); +00054 +00055 +00056 <span class="keyword">public</span>: +00062 <a class="code" href="classZincPath.html#a0">ZincPath</a> (<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y); +00063 +00069 <a class="code" href="classZincPath.html#a1">~ZincPath</a> (); +00070 +00071 <span class="comment">/******************************************</span> +00072 <span class="comment"> ZincPath manipulation</span> +00073 <span class="comment"> ******************************************/</span> +00077 <span class="keywordtype">void</span> <a class="code" href="classZincPath.html#a2">close</a> (); +00078 +00084 <span class="keywordtype">void</span> <a class="code" href="classZincPath.html#a3">lineTo</a> (<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y); +00085 +00094 <span class="keywordtype">void</span> <a class="code" href="classZincPath.html#a4">curveTo</a> (<span class="keywordtype">double</span> cx1, <span class="keywordtype">double</span> cy1, <span class="keywordtype">double</span> cx2, <span class="keywordtype">double</span> cy2, +00095 <span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y); +00096 +00104 <span class="keywordtype">void</span> <a class="code" href="classZincPath.html#a5">cubicBezierTo</a> (<span class="keywordtype">double</span> cx1, <span class="keywordtype">double</span> cy1, <span class="keywordtype">double</span> cx2, <span class="keywordtype">double</span> cy2, +00105 <span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y); +00106 +00114 <span class="keywordtype">void</span> <a class="code" href="classZincPath.html#a6">quadraticBezierTo</a> (<span class="keywordtype">double</span> cx, <span class="keywordtype">double</span> cy, <span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y); +00115 +00126 <span class="keywordtype">void</span> <a class="code" href="classZincPath.html#a7">arcTo</a> (<span class="keywordtype">double</span> rx, <span class="keywordtype">double</span> ry, <span class="keywordtype">double</span> xAxisRotation, <span class="keywordtype">bool</span> largeArc, +00127 <span class="keywordtype">bool</span> sweepFlag, <span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y); +00128 +00135 Tcl_Obj* <a class="code" href="classZincPath.html#a8">getTable</a> (); +00136 +00137 }; +00138 +00139 <span class="preprocessor">#endif</span> +00140 <span class="preprocessor"></span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 18 17:40:44 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> |