maxGraph/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGd...

1442 lines
67 KiB
HTML
Raw Normal View History

2012-05-21 20:32:26 +00:00
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>mxGraph: com::mxgraph::mxGdiCanvas Class 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.3 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
<div class="navpath"><b>com</b>::<b>mxgraph</b>::<a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html">mxGdiCanvas</a>
</div>
</div>
<div class="contents">
<h1>com::mxgraph::mxGdiCanvas Class Reference</h1><!-- doxytag: class="com::mxgraph::mxGdiCanvas" --><!-- doxytag: inherits="com::mxgraph::mxBasicCanvas" -->
<p>Implementation of a canvas that uses GDI for painting.
<a href="#_details">More...</a></p>
<div class="dynheader">
Inheritance diagram for com::mxgraph::mxGdiCanvas:</div>
<div class="dynsection">
<div class="center">
<img src="classcom_1_1mxgraph_1_1mxGdiCanvas.png" usemap="#com::mxgraph::mxGdiCanvas_map" alt=""/>
<map id="com::mxgraph::mxGdiCanvas_map" name="com::mxgraph::mxGdiCanvas_map">
<area href="classcom_1_1mxgraph_1_1mxBasicCanvas.html" alt="com::mxgraph::mxBasicCanvas" shape="rect" coords="0,56,184,80"/>
<area href="interfacecom_1_1mxgraph_1_1mxICanvas.html" alt="com::mxgraph::mxICanvas" shape="rect" coords="0,0,184,24"/>
</map>
</div>
</div>
<p><a href="classcom_1_1mxgraph_1_1mxGdiCanvas-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#ade50e4054fabc7b34d872a388c6dc164">mxGdiCanvas</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a new GDI canvas. <a href="#ade50e4054fabc7b34d872a388c6dc164"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a90acc90de62813c3b24bba07ab0c84f8">mxGdiCanvas</a> (Graphics <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a85bc82f5001ec06221efb9bccc70e84d">g</a>)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a new GDI canvas for the given graphics instance. <a href="#a90acc90de62813c3b24bba07ab0c84f8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">override Object&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a8d7fa4bb190ff786d64bf4b08a3d1c24">DrawCell</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#ad6a830f2b73a62cc62dd56353a20976f" title="Draws the given cell.">com.mxgraph.mxICanvas.DrawCell()</a> <a href="#a8d7fa4bb190ff786d64bf4b08a3d1c24"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">override Object&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a0f874cdb7c36e7ea41f8c5099d598c8b">DrawLabel</a> (string text, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state, bool html)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">see <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#a21514c420483b391edb7a482c88f5a79" title="Draws the given label.">com.mxgraph.mxICanvas.DrawLabel()</a> <a href="#a0f874cdb7c36e7ea41f8c5099d598c8b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#add14dc3bfb5bf6b79f39f3683562de5d">DrawShape</a> (int x, int y, int w, int h, Dictionary&lt; string, Object &gt; style)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws the shape specified with the STYLE_SHAPE key in the given style. <a href="#add14dc3bfb5bf6b79f39f3683562de5d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a4364c3768a269869b078890cd7341397">DrawLine</a> (List&lt; <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> &gt; pts, Dictionary&lt; string, Object &gt; style)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws the given lines as segments between all points of the given list of mxPoints. <a href="#a4364c3768a269869b078890cd7341397"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a21d332b458c681d0af7492d679722bb3">DrawMarker</a> (Object type, <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> p0, <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> pe, float size, Pen pen)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws the given type of marker. <a href="#a21d332b458c681d0af7492d679722bb3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a4ef438995740da54702f38b343bd99f6">DrawText</a> (string text, int x, int y, int w, int h, Dictionary&lt; string, Object &gt; style)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws the specified text either using drawHtmlString or using drawString. <a href="#a4ef438995740da54702f38b343bd99f6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a4e953fd9c08480d3bf94ab9a4cfa5ee5">Destroy</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destroys the canvas and frees all allocated resources. <a href="#a4e953fd9c08480d3bf94ab9a4cfa5ee5"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#abc62e1f0350b94362408ba2a3ef206fe">getArcSize</a> (int w, int h)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Computes the arc size for the given dimension. <a href="#abc62e1f0350b94362408ba2a3ef206fe"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aa2aeea2c29b35fbd1e9c101d0299f466">PRESERVE_IMAGE_ASPECT</a> = true</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Specifies if image aspect should be preserved in drawImage. <a href="#aa2aeea2c29b35fbd1e9c101d0299f466"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Image&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a691ee852a7a0fe38907842e405d7e20a">LoadImage</a> (String image)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns an image instance for the given URL. If the URL has been loaded before than an instance of the same instance is returned as in the previous call. <a href="#a691ee852a7a0fe38907842e405d7e20a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#af37625a04f9f7d8ed9da18f102b5aeb5">DrawGlassEffect</a> (int x, int y, int w, int h, Dictionary&lt; string, Object &gt; style)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws the glass effect. <a href="#af37625a04f9f7d8ed9da18f102b5aeb5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#abaf2255b6c98e42889e870439ef0fc26">DrawPolygon</a> (Point[] polygon, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a a polygon for the given parameters. <a href="#abaf2255b6c98e42889e870439ef0fc26"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a3a68ca8e3f7a86021498925900927b79">DrawPath</a> (GraphicsPath path, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a path for the given parameters. <a href="#a3a68ca8e3f7a86021498925900927b79"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#ac5f846defe137723729aef143f7d1259">DrawRect</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, bool rounded)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a rectangle for the given parameters. <a href="#ac5f846defe137723729aef143f7d1259"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#abe12b70a40a05bb43d4d06559a28e020">DrawImage</a> (int x, int y, int w, int h, String image)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws an image for the given parameters. <a href="#abe12b70a40a05bb43d4d06559a28e020"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#acf425d50d39e240b84152f5548848d36">DrawImage</a> (int x, int y, int w, int h, String image, bool preserveAspect, bool flipH, bool flipV)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws an image for the given parameters. <a href="#acf425d50d39e240b84152f5548848d36"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a06a77b51925696ff6d2f4702e71b9af1">DrawOval</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws an oval for the given parameters. <a href="#a06a77b51925696ff6d2f4702e71b9af1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a000fc6507f6faf2afa3665ce0936acd7">DrawRhombus</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws an rhombus (aka. diamond) for the given parameters. <a href="#a000fc6507f6faf2afa3665ce0936acd7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#ab29840b550d4e8e7ce810756e31bd253">DrawCylinder</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a cylinder for the given parameters. <a href="#ab29840b550d4e8e7ce810756e31bd253"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aafd04d8ceb82b55fc66d9e981ca50cb2">DrawActor</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws an actor shape for the given parameters. <a href="#aafd04d8ceb82b55fc66d9e981ca50cb2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a0b728e530315de862d80ad5084c0adbf">DrawCloud</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a cloud shape for the given parameters. <a href="#a0b728e530315de862d80ad5084c0adbf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a3c467a694ed0b8dd1577befaa3d853fa">DrawTriangle</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a triangle shape for the given parameters. <a href="#a3c467a694ed0b8dd1577befaa3d853fa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#abd6590a03ffb103ce52e56c7efba53df">DrawHexagon</a> (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a hexagon shape for the given parameters. <a href="#abd6590a03ffb103ce52e56c7efba53df"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Dictionary&lt; string, Image &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a5c377564f1931be090a0cf75176b70d2">imageCache</a> = new Dictionary&lt;string, Image&gt;()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cache for loading images. <a href="#a5c377564f1931be090a0cf75176b70d2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Graphics&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a85bc82f5001ec06221efb9bccc70e84d">g</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Global graphics handle to the image. <a href="#a85bc82f5001ec06221efb9bccc70e84d"></a><br/></td></tr>
<tr><td colspan="2"><h2>Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Graphics&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aa478f6bf5a460b175342e1b61c321ec2">Graphics</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets or gets the graphics object to paint the canvas. <a href="#aa478f6bf5a460b175342e1b61c321ec2"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Implementation of a canvas that uses GDI for painting. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ade50e4054fabc7b34d872a388c6dc164"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::mxGdiCanvas" ref="ade50e4054fabc7b34d872a388c6dc164" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">com::mxgraph::mxGdiCanvas::mxGdiCanvas </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a new GDI canvas. </p>
</div>
</div>
<a class="anchor" id="a90acc90de62813c3b24bba07ab0c84f8"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::mxGdiCanvas" ref="a90acc90de62813c3b24bba07ab0c84f8" args="(Graphics g)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">com::mxgraph::mxGdiCanvas::mxGdiCanvas </td>
<td>(</td>
<td class="paramtype">Graphics&nbsp;</td>
<td class="paramname"> <em>g</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a new GDI canvas for the given graphics instance. </p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a4e953fd9c08480d3bf94ab9a4cfa5ee5"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::Destroy" ref="a4e953fd9c08480d3bf94ab9a4cfa5ee5" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxGdiCanvas::Destroy </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destroys the canvas and frees all allocated resources. </p>
</div>
</div>
<a class="anchor" id="aafd04d8ceb82b55fc66d9e981ca50cb2"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawActor" ref="aafd04d8ceb82b55fc66d9e981ca50cb2" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxGdiCanvas::DrawActor </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Brush&nbsp;</td>
<td class="paramname"> <em>brush</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Pen&nbsp;</td>
<td class="paramname"> <em>pen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>shadow</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws an actor shape for the given parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>X-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>Y-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>Width of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>Height of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>brush</em>&nbsp;</td><td>Optional brush for painting the background.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>pen</em>&nbsp;</td><td>Optional pen for painting the border.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>shadow</em>&nbsp;</td><td>Boolean indicating if a shadow should be painted.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a8d7fa4bb190ff786d64bf4b08a3d1c24"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawCell" ref="a8d7fa4bb190ff786d64bf4b08a3d1c24" args="(mxCellState state)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">override Object com::mxgraph::mxGdiCanvas::DrawCell </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&nbsp;</td>
<td class="paramname"> <em>state</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#ad6a830f2b73a62cc62dd56353a20976f" title="Draws the given cell.">com.mxgraph.mxICanvas.DrawCell()</a> </p>
<p>Implements <a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#ae3632533a1518faf4a0283e31e40bb6f">com::mxgraph::mxBasicCanvas</a>.</p>
</div>
</div>
<a class="anchor" id="a0b728e530315de862d80ad5084c0adbf"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawCloud" ref="a0b728e530315de862d80ad5084c0adbf" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxGdiCanvas::DrawCloud </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Brush&nbsp;</td>
<td class="paramname"> <em>brush</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Pen&nbsp;</td>
<td class="paramname"> <em>pen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>shadow</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a cloud shape for the given parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>X-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>Y-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>Width of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>Height of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>brush</em>&nbsp;</td><td>Optional brush for painting the background.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>pen</em>&nbsp;</td><td>Optional pen for painting the border.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>shadow</em>&nbsp;</td><td>Boolean indicating if a shadow should be painted.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ab29840b550d4e8e7ce810756e31bd253"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawCylinder" ref="ab29840b550d4e8e7ce810756e31bd253" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxGdiCanvas::DrawCylinder </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Brush&nbsp;</td>
<td class="paramname"> <em>brush</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Pen&nbsp;</td>
<td class="paramname"> <em>pen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>shadow</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a cylinder for the given parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>X-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>Y-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>Width of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>Height of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>brush</em>&nbsp;</td><td>Optional brush for painting the background.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>pen</em>&nbsp;</td><td>Optional pen for painting the border.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>shadow</em>&nbsp;</td><td>Boolean indicating if a shadow should be painted.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="af37625a04f9f7d8ed9da18f102b5aeb5"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawGlassEffect" ref="af37625a04f9f7d8ed9da18f102b5aeb5" args="(int x, int y, int w, int h, Dictionary&lt; string, Object &gt; style)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxGdiCanvas::DrawGlassEffect </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&nbsp;</td>
<td class="paramname"> <em>style</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the glass effect. </p>
</div>
</div>
<a class="anchor" id="abd6590a03ffb103ce52e56c7efba53df"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawHexagon" ref="abd6590a03ffb103ce52e56c7efba53df" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxGdiCanvas::DrawHexagon </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Brush&nbsp;</td>
<td class="paramname"> <em>brush</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Pen&nbsp;</td>
<td class="paramname"> <em>pen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>shadow</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&nbsp;</td>
<td class="paramname"> <em>direction</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a hexagon shape for the given parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>X-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>Y-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>Width of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>Height of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>brush</em>&nbsp;</td><td>Optional brush for painting the background.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>pen</em>&nbsp;</td><td>Optional pen for painting the border.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>shadow</em>&nbsp;</td><td>Boolean indicating if a shadow should be painted.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>direction</em>&nbsp;</td><td>Specifies the direction of the hexagon.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="acf425d50d39e240b84152f5548848d36"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawImage" ref="acf425d50d39e240b84152f5548848d36" args="(int x, int y, int w, int h, String image, bool preserveAspect, bool flipH, bool flipV)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxGdiCanvas::DrawImage </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&nbsp;</td>
<td class="paramname"> <em>image</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>preserveAspect</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>flipH</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>flipV</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws an image for the given parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>X-coordinate of the image.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>Y-coordinate of the image.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>Width of the image.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>Height of the image.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>image</em>&nbsp;</td><td>URL of the image.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="abe12b70a40a05bb43d4d06559a28e020"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawImage" ref="abe12b70a40a05bb43d4d06559a28e020" args="(int x, int y, int w, int h, String image)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxGdiCanvas::DrawImage </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&nbsp;</td>
<td class="paramname"> <em>image</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws an image for the given parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>X-coordinate of the image.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>Y-coordinate of the image.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>Width of the image.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>Height of the image.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>image</em>&nbsp;</td><td>URL of the image.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a0f874cdb7c36e7ea41f8c5099d598c8b"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawLabel" ref="a0f874cdb7c36e7ea41f8c5099d598c8b" args="(string text, mxCellState state, bool html)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">override Object com::mxgraph::mxGdiCanvas::DrawLabel </td>
<td>(</td>
<td class="paramtype">string&nbsp;</td>
<td class="paramname"> <em>text</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&nbsp;</td>
<td class="paramname"> <em>state</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>html</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>see <a class="el" href="interfacecom_1_1mxgraph_1_1mxICanvas.html#a21514c420483b391edb7a482c88f5a79" title="Draws the given label.">com.mxgraph.mxICanvas.DrawLabel()</a> </p>
<p>Implements <a class="el" href="classcom_1_1mxgraph_1_1mxBasicCanvas.html#a105ec52cceacc015399516e8451248b2">com::mxgraph::mxBasicCanvas</a>.</p>
</div>
</div>
<a class="anchor" id="a4364c3768a269869b078890cd7341397"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawLine" ref="a4364c3768a269869b078890cd7341397" args="(List&lt; mxPoint &gt; pts, Dictionary&lt; string, Object &gt; style)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxGdiCanvas::DrawLine </td>
<td>(</td>
<td class="paramtype">List&lt; <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> &gt;&nbsp;</td>
<td class="paramname"> <em>pts</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&nbsp;</td>
<td class="paramname"> <em>style</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the given lines as segments between all points of the given list of mxPoints. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>pts</em>&nbsp;</td><td>List of points that define the line.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>style</em>&nbsp;</td><td>Style to be used for painting the line.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a21d332b458c681d0af7492d679722bb3"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawMarker" ref="a21d332b458c681d0af7492d679722bb3" args="(Object type, mxPoint p0, mxPoint pe, float size, Pen pen)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> com::mxgraph::mxGdiCanvas::DrawMarker </td>
<td>(</td>
<td class="paramtype">Object&nbsp;</td>
<td class="paramname"> <em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&nbsp;</td>
<td class="paramname"> <em>p0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&nbsp;</td>
<td class="paramname"> <em>pe</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&nbsp;</td>
<td class="paramname"> <em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Pen&nbsp;</td>
<td class="paramname"> <em>pen</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the given type of marker. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>type</em>&nbsp;</td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>p0</em>&nbsp;</td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>pe</em>&nbsp;</td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>pen</em>&nbsp;</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a06a77b51925696ff6d2f4702e71b9af1"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawOval" ref="a06a77b51925696ff6d2f4702e71b9af1" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxGdiCanvas::DrawOval </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Brush&nbsp;</td>
<td class="paramname"> <em>brush</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Pen&nbsp;</td>
<td class="paramname"> <em>pen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>shadow</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws an oval for the given parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>X-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>Y-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>Width of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>Height of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>brush</em>&nbsp;</td><td>Optional brush for painting the background.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>pen</em>&nbsp;</td><td>Optional pen for painting the border.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>shadow</em>&nbsp;</td><td>Boolean indicating if a shadow should be painted.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a3a68ca8e3f7a86021498925900927b79"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawPath" ref="a3a68ca8e3f7a86021498925900927b79" args="(GraphicsPath path, Brush brush, Pen pen, bool shadow)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxGdiCanvas::DrawPath </td>
<td>(</td>
<td class="paramtype">GraphicsPath&nbsp;</td>
<td class="paramname"> <em>path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Brush&nbsp;</td>
<td class="paramname"> <em>brush</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Pen&nbsp;</td>
<td class="paramname"> <em>pen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>shadow</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a path for the given parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>path</em>&nbsp;</td><td>Path object to be drawn.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>brush</em>&nbsp;</td><td>Optional brush for painting the background.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>pen</em>&nbsp;</td><td>Optional pen for painting the border.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>shadow</em>&nbsp;</td><td>Boolean indicating if a shadow should be painted.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="abaf2255b6c98e42889e870439ef0fc26"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawPolygon" ref="abaf2255b6c98e42889e870439ef0fc26" args="(Point[] polygon, Brush brush, Pen pen, bool shadow)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxGdiCanvas::DrawPolygon </td>
<td>(</td>
<td class="paramtype">Point[]&nbsp;</td>
<td class="paramname"> <em>polygon</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Brush&nbsp;</td>
<td class="paramname"> <em>brush</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Pen&nbsp;</td>
<td class="paramname"> <em>pen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>shadow</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a a polygon for the given parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>polygon</em>&nbsp;</td><td>Points of the polygon.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>brush</em>&nbsp;</td><td>Optional brush for painting the background.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>pen</em>&nbsp;</td><td>Optional pen for painting the border.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>shadow</em>&nbsp;</td><td>Boolean indicating if a shadow should be painted.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ac5f846defe137723729aef143f7d1259"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawRect" ref="ac5f846defe137723729aef143f7d1259" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, bool rounded)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxGdiCanvas::DrawRect </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Brush&nbsp;</td>
<td class="paramname"> <em>brush</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Pen&nbsp;</td>
<td class="paramname"> <em>pen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>shadow</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>rounded</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a rectangle for the given parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>X-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>Y-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>Width of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>Height of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>brush</em>&nbsp;</td><td>Optional brush for painting the background.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>pen</em>&nbsp;</td><td>Optional pen for painting the border.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>shadow</em>&nbsp;</td><td>Boolean indicating if a shadow should be painted.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>rounded</em>&nbsp;</td><td>Boolean indicating if the rectangle is rounded.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a000fc6507f6faf2afa3665ce0936acd7"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawRhombus" ref="a000fc6507f6faf2afa3665ce0936acd7" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxGdiCanvas::DrawRhombus </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Brush&nbsp;</td>
<td class="paramname"> <em>brush</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Pen&nbsp;</td>
<td class="paramname"> <em>pen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>shadow</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws an rhombus (aka. diamond) for the given parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>X-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>Y-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>Width of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>Height of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>brush</em>&nbsp;</td><td>Optional brush for painting the background.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>pen</em>&nbsp;</td><td>Optional pen for painting the border.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>shadow</em>&nbsp;</td><td>Boolean indicating if a shadow should be painted.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="add14dc3bfb5bf6b79f39f3683562de5d"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawShape" ref="add14dc3bfb5bf6b79f39f3683562de5d" args="(int x, int y, int w, int h, Dictionary&lt; string, Object &gt; style)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxGdiCanvas::DrawShape </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&nbsp;</td>
<td class="paramname"> <em>style</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the shape specified with the STYLE_SHAPE key in the given style. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>X-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>Y-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>Width of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>Height of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>style</em>&nbsp;</td><td>Style of the the shape.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a4ef438995740da54702f38b343bd99f6"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawText" ref="a4ef438995740da54702f38b343bd99f6" args="(string text, int x, int y, int w, int h, Dictionary&lt; string, Object &gt; style)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxGdiCanvas::DrawText </td>
<td>(</td>
<td class="paramtype">string&nbsp;</td>
<td class="paramname"> <em>text</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Dictionary&lt; string, Object &gt;&nbsp;</td>
<td class="paramname"> <em>style</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws the specified text either using drawHtmlString or using drawString. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>X-coordinate of the text.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>Y-coordinate of the text.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>Width of the text.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>Height of the text.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>style</em>&nbsp;</td><td>Style to be used for painting the text.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a3c467a694ed0b8dd1577befaa3d853fa"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::DrawTriangle" ref="a3c467a694ed0b8dd1577befaa3d853fa" args="(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void com::mxgraph::mxGdiCanvas::DrawTriangle </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Brush&nbsp;</td>
<td class="paramname"> <em>brush</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Pen&nbsp;</td>
<td class="paramname"> <em>pen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>shadow</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&nbsp;</td>
<td class="paramname"> <em>direction</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a triangle shape for the given parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>X-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>Y-coordinate of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>Width of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>Height of the shape.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>brush</em>&nbsp;</td><td>Optional brush for painting the background.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>pen</em>&nbsp;</td><td>Optional pen for painting the border.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>shadow</em>&nbsp;</td><td>Boolean indicating if a shadow should be painted.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>direction</em>&nbsp;</td><td>Specifies the direction of the triangle.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="abc62e1f0350b94362408ba2a3ef206fe"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::getArcSize" ref="abc62e1f0350b94362408ba2a3ef206fe" args="(int w, int h)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static int com::mxgraph::mxGdiCanvas::getArcSize </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>h</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Computes the arc size for the given dimension. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>Width of the rectangle.</td></tr>
<tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>Height of the rectangle.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the arc size for the given dimension.</dd></dl>
</div>
</div>
<a class="anchor" id="a691ee852a7a0fe38907842e405d7e20a"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::LoadImage" ref="a691ee852a7a0fe38907842e405d7e20a" args="(String image)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Image com::mxgraph::mxGdiCanvas::LoadImage </td>
<td>(</td>
<td class="paramtype">String&nbsp;</td>
<td class="paramname"> <em>image</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns an image instance for the given URL. If the URL has been loaded before than an instance of the same instance is returned as in the previous call. </p>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a85bc82f5001ec06221efb9bccc70e84d"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::g" ref="a85bc82f5001ec06221efb9bccc70e84d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Graphics <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a85bc82f5001ec06221efb9bccc70e84d">com::mxgraph::mxGdiCanvas::g</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Global graphics handle to the image. </p>
</div>
</div>
<a class="anchor" id="a5c377564f1931be090a0cf75176b70d2"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::imageCache" ref="a5c377564f1931be090a0cf75176b70d2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Dictionary&lt;string, Image&gt; <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#a5c377564f1931be090a0cf75176b70d2">com::mxgraph::mxGdiCanvas::imageCache</a> = new Dictionary&lt;string, Image&gt;()<code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Cache for loading images. </p>
</div>
</div>
<a class="anchor" id="aa2aeea2c29b35fbd1e9c101d0299f466"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::PRESERVE_IMAGE_ASPECT" ref="aa2aeea2c29b35fbd1e9c101d0299f466" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classcom_1_1mxgraph_1_1mxGdiCanvas.html#aa2aeea2c29b35fbd1e9c101d0299f466">com::mxgraph::mxGdiCanvas::PRESERVE_IMAGE_ASPECT</a> = true<code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Specifies if image aspect should be preserved in drawImage. </p>
</div>
</div>
<hr/><h2>Property Documentation</h2>
<a class="anchor" id="aa478f6bf5a460b175342e1b61c321ec2"></a><!-- doxytag: member="com::mxgraph::mxGdiCanvas::Graphics" ref="aa478f6bf5a460b175342e1b61c321ec2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Graphics com::mxgraph::mxGdiCanvas::Graphics<code> [get, set]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets or gets the graphics object to paint the canvas. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/canvas/mxGdiCanvas.cs</li>
</ul>
</div>
2013-02-21 15:55:28 +00:00
<hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Feb 21 15:48:42 2013 for mxGraph by&nbsp;
2012-05-21 20:32:26 +00:00
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>