Source

cappuccino-docs / cappuccino docs / cappuccino.org / learn / documentation / _c_g_path_8j.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<!-- Mirrored from cappuccino.org/learn/documentation/_c_g_path_8j.html by HTTrack Website Copier/3.x [XR&CO'2006], Mon, 20 Sep 2010 02:19:12 GMT -->
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Cappuccino API: AppKit/CoreGraphics/CGPath.j File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>AppKit/CoreGraphics/CGPath.j File Reference</h1><code>#include &quot;<a class="el" href="_c_g_geometry_8h_source.html">CGGeometry.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="_c_g_affine_transform_8h_source.html">CGAffineTransform.h</a>&quot;</code><br/>
<div class="dynheader">
Include dependency graph for CGPath.j:</div>
<div class="dynsection">
<div class="center"><img src="_c_g_path_8j__incl.png" border="0" usemap="#_app_kit_2_core_graphics_2_c_g_path_8j_map" alt=""/></div>
<map name="_app_kit_2_core_graphics_2_c_g_path_8j_map" id="_app_kit_2_core_graphics_2_c_g_path_8j">
<area shape="rect" id="node3" href="_c_g_geometry_8h.html" title="CGGeometry.h" alt="" coords="53,161,165,189"/><area shape="rect" id="node5" href="_c_g_affine_transform_8h.html" title="CGAffineTransform.h" alt="" coords="91,83,240,111"/></map>
</div>

<p><a href="_c_g_path_8j_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#ga609d0ae9dc6594969ffdcafde2523654">CGPathAddArc</a> (aPath, aTransform, x, y, aRadius, aStartAngle, anEndAngle, isClockwise)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#ga2331232fbb23066768f072066df64cd0">CGPathAddArcToPoint</a> (aPath, aTransform, x1, y1, x2, y2, aRadius)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#ga9fa7ff189d8cb4cab0913a27b0442d38">CGPathAddCurveToPoint</a> (aPath, aTransform, cp1x, cp1y, cp2x, cp2y, x, y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#ga397919e24ec9f7eab1439d4b22566814">CGPathAddLines</a> (aPath, aTransform, points, count)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#gaafe01f38e6f142275ffba02b4fc2a6c7">CGPathAddLineToPoint</a> (aPath, aTransform, x, y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#ga758aacdf42c884b1ed81bf27cf5823dc">CGPathAddPath</a> (aPath, aTransform, anotherPath)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#gac6cbdbc5a13b6a3833318cf9f728b2c1">CGPathAddQuadCurveToPoint</a> (aPath, aTransform, cpx, cpy, x, y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#ga82164232a876aeb3d205102748a382c6">CGPathAddRect</a> (aPath, aTransform, aRect)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#ga45e1bd9d3a46c2ad9d2bb63004746c1e">CGPathAddRects</a> (aPath, aTransform, rects, count)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#gaa94d983b7a2900b1f08c503b8a9915ec">CGPathCloseSubpath</a> (aPath)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#ga8944ae1de832b036c07bf10eeac5a534">CGPathCreateCopy</a> (aPath)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#ga5c5e8119e6c51f303e5b3ee1c5f04b7c">CGPathCreateMutable</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#ga3eb51cbde7862756b75f8c981521915c">CGPathCreateMutableCopy</a> (aPath)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#ga603dbd94c172917ef93ccd9337a69a57">CGPathEqualToPath</a> (aPath, anotherPath)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#ga888950512d96fe1353bb726bbe40294c">CGPathGetCurrentPoint</a> (aPath)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#ga75236063f073e7f232d97c103185f170">CGPathIsEmpty</a> (aPath)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#ga727565004dc7c879456429f3fa3b5d8c">CGPathMoveToPoint</a> (aPath, aTransform, x, y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#gae9c709dad0b4a6efe88aceec505d352c">CGPathRelease</a> (aPath)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#ga4001c5727511586c4e40d8a193ebb17e">CGPathRetain</a> (aPath)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#gaec591c72b040abcdef2724e23c756cbf">CGPathWithEllipseInRect</a> (aRect)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">function&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#ga0a87d3c8d7ee70ba362e676777139442">CGPathWithRoundedRectangleInRect</a> (aRect, xRadius, yRadius, ne, se, sw, nw)</td></tr>
<tr><td colspan="2"><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">var&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coregraphics.html#ga84c7e8fc9dcd63753a99f0e6514128d8">KAPPA</a> = 4.0 * ((SQRT2 - 1.0) / 3.0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_g_path_8j.html#ac1c2ae20f02a2d793033cead62938432">kCGPathElementAddArc</a> = 5</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_g_path_8j.html#a403073c09a7fff35f9af466d17b6e7b2">kCGPathElementAddArcToPoint</a> = 6</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_g_path_8j.html#a17aac2a8e9d2d2b6182d1a23e7bf41eb">kCGPathElementAddCurveToPoint</a> = 3</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_g_path_8j.html#affb51bdb84af3fe68af46b6748807536">kCGPathElementAddLineToPoint</a> = 1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_g_path_8j.html#a1e5ece1061fac8a78fa62f5f96958e3b">kCGPathElementAddQuadCurveToPoint</a> = 2</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_g_path_8j.html#afd9cd245b331cd15188c7b3e319c4b86">kCGPathElementCloseSubpath</a> = 4</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">import CGGeometry <a class="el" href="_c_p_document_controller_8j.html#a97d2365502de5016df38a9335cb22976">j</a> import <br class="typebreak"/>
CGAffineTransform <a class="el" href="_c_p_document_controller_8j.html#a97d2365502de5016df38a9335cb22976">j</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_g_path_8j.html#afde27cddf02b40ea4c4a369736f4ddf4">kCGPathElementMoveToPoint</a> = 0</td></tr>
</table>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="ac1c2ae20f02a2d793033cead62938432"></a><!-- doxytag: member="CGPath.j::kCGPathElementAddArc" ref="ac1c2ae20f02a2d793033cead62938432" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_c_g_path_8j.html#ac1c2ae20f02a2d793033cead62938432">kCGPathElementAddArc</a> = 5</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_g_path_8j_source.html#l00036">36</a> of file <a class="el" href="_c_g_path_8j_source.html">CGPath.j</a>.</p>

</div>
</div>
<a class="anchor" id="a403073c09a7fff35f9af466d17b6e7b2"></a><!-- doxytag: member="CGPath.j::kCGPathElementAddArcToPoint" ref="a403073c09a7fff35f9af466d17b6e7b2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_c_g_path_8j.html#a403073c09a7fff35f9af466d17b6e7b2">kCGPathElementAddArcToPoint</a> = 6</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_g_path_8j_source.html#l00037">37</a> of file <a class="el" href="_c_g_path_8j_source.html">CGPath.j</a>.</p>

</div>
</div>
<a class="anchor" id="a17aac2a8e9d2d2b6182d1a23e7bf41eb"></a><!-- doxytag: member="CGPath.j::kCGPathElementAddCurveToPoint" ref="a17aac2a8e9d2d2b6182d1a23e7bf41eb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_c_g_path_8j.html#a17aac2a8e9d2d2b6182d1a23e7bf41eb">kCGPathElementAddCurveToPoint</a> = 3</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_g_path_8j_source.html#l00033">33</a> of file <a class="el" href="_c_g_path_8j_source.html">CGPath.j</a>.</p>

</div>
</div>
<a class="anchor" id="affb51bdb84af3fe68af46b6748807536"></a><!-- doxytag: member="CGPath.j::kCGPathElementAddLineToPoint" ref="affb51bdb84af3fe68af46b6748807536" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_c_g_path_8j.html#affb51bdb84af3fe68af46b6748807536">kCGPathElementAddLineToPoint</a> = 1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_g_path_8j_source.html#l00031">31</a> of file <a class="el" href="_c_g_path_8j_source.html">CGPath.j</a>.</p>

</div>
</div>
<a class="anchor" id="a1e5ece1061fac8a78fa62f5f96958e3b"></a><!-- doxytag: member="CGPath.j::kCGPathElementAddQuadCurveToPoint" ref="a1e5ece1061fac8a78fa62f5f96958e3b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_c_g_path_8j.html#a1e5ece1061fac8a78fa62f5f96958e3b">kCGPathElementAddQuadCurveToPoint</a> = 2</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_g_path_8j_source.html#l00032">32</a> of file <a class="el" href="_c_g_path_8j_source.html">CGPath.j</a>.</p>

</div>
</div>
<a class="anchor" id="afd9cd245b331cd15188c7b3e319c4b86"></a><!-- doxytag: member="CGPath.j::kCGPathElementCloseSubpath" ref="afd9cd245b331cd15188c7b3e319c4b86" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_c_g_path_8j.html#afd9cd245b331cd15188c7b3e319c4b86">kCGPathElementCloseSubpath</a> = 4</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_g_path_8j_source.html#l00034">34</a> of file <a class="el" href="_c_g_path_8j_source.html">CGPath.j</a>.</p>

</div>
</div>
<a class="anchor" id="afde27cddf02b40ea4c4a369736f4ddf4"></a><!-- doxytag: member="CGPath.j::kCGPathElementMoveToPoint" ref="afde27cddf02b40ea4c4a369736f4ddf4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">import CGGeometry <a class="el" href="_c_p_document_controller_8j.html#a97d2365502de5016df38a9335cb22976">j</a> import CGAffineTransform <a class="el" href="_c_p_document_controller_8j.html#a97d2365502de5016df38a9335cb22976">j</a> <a class="el" href="_c_g_path_8j.html#afde27cddf02b40ea4c4a369736f4ddf4">kCGPathElementMoveToPoint</a> = 0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_g_path_8j_source.html#l00030">30</a> of file <a class="el" href="_c_g_path_8j_source.html">CGPath.j</a>.</p>

</div>
</div>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue Apr 6 10:32:59 2010 for Cappuccino API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>

<!-- Mirrored from cappuccino.org/learn/documentation/_c_g_path_8j.html by HTTrack Website Copier/3.x [XR&CO'2006], Mon, 20 Sep 2010 02:19:12 GMT -->
</html>