Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bad97183153701b09df5fae1052b1c30 > files > 584

crystalspace-doc-1.2.1-5mdv2010.0.i586.rpm

<!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>Crystal Space 1.2.1: csGraphics2D Class Reference (Crystal Space 1.2.1 Public API Reference)</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="head">
 <tr height="59">
  <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td>
  <td class="head"><h2>Public API Reference</h2></td>
 </tr>
 <tr height="11">
  <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td>
 </tr>
</table>
<div class="content">
<!-- Generated by Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li class="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <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>
<h1>csGraphics2D Class Reference<br>
<small>
[<a class="el" href="group__plugincommon.html">Common Plugin Classes</a>]</small>
</h1><!-- doxytag: class="csGraphics2D" --><!-- doxytag: inherits="scfImplementation7&lt; csGraphics2D, iGraphics2D, iComponent, iNativeWindow, iNativeWindowManager, iPluginConfig, iDebugHelper, iEventHandler &gt;" -->This is the base class for 2D canvases.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">csplugincommon/canvas/graph2d.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for csGraphics2D:</div>
<div class="dynsection">
<p><center><img src="classcsGraphics2D__inherit__graph.png" border="0" usemap="#csGraphics2D__inherit__map" alt="Inheritance graph"></center>
<map name="csGraphics2D__inherit__map">
<area shape="rect" href="classscfImplementationExt2.html" title="scfImplementationExt2\&lt; csGraphics2DGLCommon, csGraphics2D, iEventPlug, iOpenGLDriverDatabase \&gt;" alt="" coords="1783,183,2492,209"><area shape="rect" href="classscfImplementation7.html" title="scfImplementation7\&lt; csGraphics2D, iGraphics2D, iComponent, iNativeWindow, iNativeWindowManager, iPluginConfig, iDebugHelper, iEventHandler \&gt;" alt="" coords="584,183,1576,209"><area shape="rect" href="classscfImplementation.html" title="scfImplementation\&lt; csGraphics2D \&gt;" alt="" coords="276,5,535,32"><area shape="rect" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one..." alt="" coords="88,183,144,209"><area shape="rect" href="structiGraphics2D.html" title="This is the interface for 2D renderer." alt="" coords="356,56,455,83"><area shape="rect" href="structiComponent.html" title="This interface describes a generic component in Crystal Space." alt="" coords="355,107,456,133"><area shape="rect" href="structiNativeWindow.html" title="This interface represents a native window." alt="" coords="348,157,463,184"><area shape="rect" href="structiNativeWindowManager.html" title="This interface represents the native window manager system." alt="" coords="319,208,492,235"><area shape="rect" href="structiPluginConfig.html" title="Interface to a configurator object." alt="" coords="353,259,457,285"><area shape="rect" href="structiDebugHelper.html" title="Some object that wants to implement unit testing, debugging and/or benchmarking can..." alt="" coords="351,309,460,336"><area shape="rect" href="structiEventHandler.html" title="This interface describes an entity that can receive events." alt="" coords="349,360,461,387"><area shape="rect" href="classCS_1_1Memory_1_1CustomAllocated.html" title="Class that overrides operator new/operator delete/etc." alt="" coords="5,5,227,32"><area shape="rect" href="classcsGraphics2DGLCommon.html" title="Basic OpenGL version of the 2D driver class." alt="" coords="2541,183,2731,209"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classcsGraphics2D-members.html">List of all members.</a><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">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#759ebbe1667a78c1fc28d5a3d9bd029d">AllowResize</a> (bool)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enable/disable canvas resize (Over-ride in sub classes).  <a href="#759ebbe1667a78c1fc28d5a3d9bd029d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#0eb668e6b8498a6988e4d87dae67a887">BeginDraw</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This routine should be called before any draw operations.  <a href="#0eb668e6b8498a6988e4d87dae67a887"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#7ece8817dd9e44e4f1fbc93a350b51d0">Blit</a> (int x, int y, int width, int height, unsigned char const *data)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Blit a memory block. Format of the image is RGBA in bytes. Row by row.  <a href="#7ece8817dd9e44e4f1fbc93a350b51d0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#ed9c6f12ac23ac95ab4fad9c853ab8c3">ChangeDepth</a> (int d)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Change the depth of the canvas.  <a href="#ed9c6f12ac23ac95ab4fad9c853ab8c3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#c3249a8ad143158380c70ccf566b4c3b">Clear</a> (int color)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clear backbuffer.  <a href="#c3249a8ad143158380c70ccf566b4c3b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#ae286debb19aae4db139c6e8f51e61ac">ClearAll</a> (int color)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clear all video pages.  <a href="#ae286debb19aae4db139c6e8f51e61ac"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#e6cbd6899add5d613f02405573738e19">ClipLine</a> (float &amp;x1, float &amp;y1, float &amp;x2, float &amp;y2, int xmin, int ymin, int xmax, int ymax)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clip a line against given rectangle Function returns true if line is not visible.  <a href="#e6cbd6899add5d613f02405573738e19"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#54a628892914d858bf62c29fe0b20393">Close</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">(*) Close graphics system  <a href="#54a628892914d858bf62c29fe0b20393"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcsPtr.html">csPtr</a><br>
&lt; <a class="el" href="structiGraphics2D.html">iGraphics2D</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#b02171a792f95bae108ad1b72b26f175">CreateOffscreenCanvas</a> (void *memory, int width, int height, int depth, <a class="el" href="structiOffscreenCanvasCallback.html">iOffscreenCanvasCallback</a> *<a class="el" href="classcsGraphics2D.html#f9b4982829efab8626e850908b60f537">ofscb</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create an off-screen canvas so you can render on a given memory area.  <a href="#b02171a792f95bae108ad1b72b26f175"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#3d9305c2317fe1c9b982eb879e402997">csGraphics2D</a> (<a class="el" href="structiBase.html">iBase</a> *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create <a class="el" href="classcsGraphics2D.html" title="This is the base class for 2D canvases.">csGraphics2D</a> object.  <a href="#3d9305c2317fe1c9b982eb879e402997"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#d8005cc576d9c3ec6c1ebda916951ed5">DoubleBuffer</a> (bool Enable)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enable or disable double buffering; return TRUE if supported.  <a href="#d8005cc576d9c3ec6c1ebda916951ed5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#965a46d57b6828bdefc77a585b8658c0">DrawBox</a> (int x, int y, int w, int h, int color)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draw a box of given width and height.  <a href="#965a46d57b6828bdefc77a585b8658c0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#5e2aa80687926583f039aef90c779ef5">DrawLine</a> (float x1, float y1, float x2, float y2, int color)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draw a line.  <a href="#5e2aa80687926583f039aef90c779ef5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#362804c19c45315e8327da8ed52d42f4">DrawPixel</a> (int x, int y, int color)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Same but exposed through <a class="el" href="structiGraphics2D.html" title="This is the interface for 2D renderer.">iGraphics2D</a> interface.  <a href="#362804c19c45315e8327da8ed52d42f4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#db5261b714dd07e1664a849605e98811">DrawPixels</a> (<a class="el" href="structcsPixelCoord.html">csPixelCoord</a> const *pixels, int num_pixels, int color)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draw an array of pixel coordinates with the given color.  <a href="#db5261b714dd07e1664a849605e98811"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#8ec4bfdefe11b76c144bc5ddbe7601d8">FindRGB</a> (int r, int g, int b, int a=255)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find an RGB (0.  <a href="#8ec4bfdefe11b76c144bc5ddbe7601d8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#e3b8015b220e90fa77acb1cc60a028a8">FinishDraw</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This routine should be called when you finished drawing.  <a href="#e3b8015b220e90fa77acb1cc60a028a8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#126b7e24b098a908b4a7d448c8be09ed">FreeArea</a> (<a class="el" href="structcsImageArea.html">csImageArea</a> *Area)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Free storage allocated for a subarea of screen.  <a href="#126b7e24b098a908b4a7d448c8be09ed"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#311639eac3b096eed0e54758194069b3">GetClipRect</a> (int &amp;xmin, int &amp;ymin, int &amp;xmax, int &amp;ymax)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Query clipping rectangle.  <a href="#311639eac3b096eed0e54758194069b3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#02c5ff22358b90534656e84794114ca4">GetDoubleBufferState</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return current double buffering state.  <a href="#02c5ff22358b90534656e84794114ca4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="structiFontServer.html">iFontServer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#8a56ffc416252a5a7ec887e9615e1b0a">GetFontServer</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the font server.  <a href="#8a56ffc416252a5a7ec887e9615e1b0a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#a4f549d06eec17c7c9c1a03f9e01694d">GetFullScreen</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns 'true' if the program is being run full-screen.  <a href="#a4f549d06eec17c7c9c1a03f9e01694d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#b371a0110449fa6fb6bba59f11dab181">GetGamma</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get gamma value.  <a href="#b371a0110449fa6fb6bba59f11dab181"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#96f58c12519379b06e75f38e958f8264">GetHeight</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the height of the framebuffer.  <a href="#96f58c12519379b06e75f38e958f8264"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#4de525dc09ee5962e5d81b70dd2c83b3">GetName</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the name of this canvas.  <a href="#4de525dc09ee5962e5d81b70dd2c83b3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="structiNativeWindow.html">iNativeWindow</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#79a53b47a12044f8404384f8da038cbb">GetNativeWindow</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the Native Window interface for this canvas (if it has one).  <a href="#79a53b47a12044f8404384f8da038cbb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#693f178ace4b26c8bdb05a528e36d0e9">GetPage</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get active videopage number (starting from zero).  <a href="#693f178ace4b26c8bdb05a528e36d0e9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#a370c4f5fb8c1812cab9ebc6e98b0a47">GetPalEntryCount</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the number of palette entries that can be modified.  <a href="#a370c4f5fb8c1812cab9ebc6e98b0a47"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="structcsRGBpixel.html">csRGBpixel</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#23df9b2d355b8ee5077d8a1a7e6c75fd">GetPalette</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the palette (if there is one).  <a href="#23df9b2d355b8ee5077d8a1a7e6c75fd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#b754a58e7859b5c417808837ed36574e">GetPixel</a> (int x, int y, <a class="el" href="group__util.html#gdde6aaee8457bee49c2a92621fe22b79">uint8</a> &amp;oR, <a class="el" href="group__util.html#gdde6aaee8457bee49c2a92621fe22b79">uint8</a> &amp;oG, <a class="el" href="group__util.html#gdde6aaee8457bee49c2a92621fe22b79">uint8</a> &amp;oB, <a class="el" href="group__util.html#gdde6aaee8457bee49c2a92621fe22b79">uint8</a> &amp;oA)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">As <a class="el" href="classcsGraphics2D.html#a4a5cfa0d33828728869165f2f05163e" title="Query pixel R,G,B at given screen location.">GetPixel()</a> above, but with alpha.  <a href="#b754a58e7859b5c417808837ed36574e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#a4a5cfa0d33828728869165f2f05163e">GetPixel</a> (int x, int y, <a class="el" href="group__util.html#gdde6aaee8457bee49c2a92621fe22b79">uint8</a> &amp;oR, <a class="el" href="group__util.html#gdde6aaee8457bee49c2a92621fe22b79">uint8</a> &amp;oG, <a class="el" href="group__util.html#gdde6aaee8457bee49c2a92621fe22b79">uint8</a> &amp;oB)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Query pixel R,G,B at given screen location.  <a href="#a4a5cfa0d33828728869165f2f05163e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#68beac8a1ae92e157a916b9d55f9f8ea">GetPixelAt</a> (int x, int y)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Same but exposed through <a class="el" href="structiGraphics2D.html" title="This is the interface for 2D renderer.">iGraphics2D</a> interface.  <a href="#68beac8a1ae92e157a916b9d55f9f8ea"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#4ee5d7eed369c3347202b59afd4bb46b">GetPixelBytes</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the number of bytes for every pixel.  <a href="#4ee5d7eed369c3347202b59afd4bb46b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <br>
<a class="el" href="structcsPixelFormat.html">csPixelFormat</a> const *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#8bed12796691e5a79ed9eae7698a151e">GetPixelFormat</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return information about about the pixel format.  <a href="#8bed12796691e5a79ed9eae7698a151e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#834bef9425152a2e0938768670cee386">GetRGB</a> (int color, int &amp;r, int &amp;g, int &amp;b, int &amp;a)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the R,G,B,A tuple for a given color index.  <a href="#834bef9425152a2e0938768670cee386"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#f8dee69eb3096a1f931e67ae951bfb8c">GetRGB</a> (int color, int &amp;r, int &amp;g, int &amp;b)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the R,G,B tuple for a given color index.  <a href="#f8dee69eb3096a1f931e67ae951bfb8c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#3643ee0bced27258452706c31db6bafb">GetWidth</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the width of the framebuffer.  <a href="#3643ee0bced27258452706c31db6bafb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#f34849ba08f71796a72e77f36a6732b2">HandleEvent</a> (<a class="el" href="structiEvent.html">iEvent</a> &amp;)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Event handler for plugin.  <a href="#f34849ba08f71796a72e77f36a6732b2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#30c0c60b890b1fac84dbd167c115ba71">Initialize</a> (<a class="el" href="structiObjectRegistry.html">iObjectRegistry</a> *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initialize the plugin.  <a href="#30c0c60b890b1fac84dbd167c115ba71"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#a116e2745469a6212cd2a27362bc7f30">Open</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">(*) Open graphics system (set videomode, open window etc)  <a href="#a116e2745469a6212cd2a27362bc7f30"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#b66282e5a63e5abc650496fd1dd0e4b6">PerformExtension</a> (char const *command,...)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Perform a system specific extension.  <a href="#b66282e5a63e5abc650496fd1dd0e4b6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#5bbd9bc43498ccc5566e7c4f3665112e">PerformExtensionV</a> (char const *command, va_list)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Perform a system specific extension.  <a href="#5bbd9bc43498ccc5566e7c4f3665112e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#8e1cdf268ca57db67ce4da7904a67ba2">Print</a> (<a class="el" href="classcsRect.html">csRect</a> const *=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">(*) Flip video pages (or dump backbuffer into framebuffer).  <a href="#8e1cdf268ca57db67ce4da7904a67ba2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#62b276a262a4d6a2bfe529a835897798">Resize</a> (int w, int h)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Resize the canvas.  <a href="#62b276a262a4d6a2bfe529a835897798"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#a4d292632b05e16497e0a330573428fd">RestoreArea</a> (<a class="el" href="structcsImageArea.html">csImageArea</a> *Area, bool Free=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Restore a subarea of screen saved with <a class="el" href="classcsGraphics2D.html#9e503598301389ec9029591d1b8d8237" title="Save a subarea of screen area into the variable Data.">SaveArea()</a>.  <a href="#a4d292632b05e16497e0a330573428fd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="structcsImageArea.html">csImageArea</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#9e503598301389ec9029591d1b8d8237">SaveArea</a> (int x, int y, int w, int h)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Save a subarea of screen area into the variable Data.  <a href="#9e503598301389ec9029591d1b8d8237"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcsPtr.html">csPtr</a>&lt; <a class="el" href="structiImage.html">iImage</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#1d021d2dc4e6a0359ef2d2076bf83c35">ScreenShot</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Do a screenshot: return a new <a class="el" href="structiImage.html" title="The iImage interface is used to work with image objects.">iImage</a> object.  <a href="#1d021d2dc4e6a0359ef2d2076bf83c35"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#7930aa2556d5d6f8abbef90587430f57">SetClipRect</a> (int xmin, int ymin, int xmax, int ymax)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set clipping rectangle.  <a href="#7930aa2556d5d6f8abbef90587430f57"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#1c1c50303a28902d42a62f018f85163a">SetFullScreen</a> (bool b)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Change the fullscreen state of the canvas.  <a href="#1c1c50303a28902d42a62f018f85163a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#6746d39f949e7cbdf644ae7156ce942b">SetGamma</a> (float)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set gamma value (if supported by canvas).  <a href="#6746d39f949e7cbdf644ae7156ce942b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#8c997d56caf7ade4ff472dc5312cfc7d">SetMouseCursor</a> (<a class="el" href="structiImage.html">iImage</a> *image, const <a class="el" href="structcsRGBcolor.html">csRGBcolor</a> *keycolor=0, int hotspot_x=0, int hotspot_y=0, <a class="el" href="structcsRGBcolor.html">csRGBcolor</a> fg=<a class="el" href="structcsRGBcolor.html">csRGBcolor</a>(255, 255, 255), <a class="el" href="structcsRGBcolor.html">csRGBcolor</a> bg=<a class="el" href="structcsRGBcolor.html">csRGBcolor</a>(0, 0, 0))</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set mouse cursor using an image.  <a href="#8c997d56caf7ade4ff472dc5312cfc7d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#13d15d4f75905dadab035affe56fa892">SetMouseCursor</a> (<a class="el" href="group__gfx2d.html#g80b85f64d5f129faf7a2cd4c2825147e">csMouseCursorID</a> iShape)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set mouse cursor to one of predefined shape classes (see csmcXXX enum above).  <a href="#13d15d4f75905dadab035affe56fa892"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#52df41f8798a298b94088009003ae2e3">SetMousePosition</a> (int x, int y)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set mouse cursor position; return success status.  <a href="#52df41f8798a298b94088009003ae2e3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#7d9b19438982575bab1bc89cf0e6478e">SetRGB</a> (int i, int r, int g, int b)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">(*) Set a color index to given R,G,B (0..255) values  <a href="#7d9b19438982575bab1bc89cf0e6478e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#faf7f4dd7e6c7a3084356d63efbb1e68">~csGraphics2D</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destroy <a class="el" href="classcsGraphics2D.html" title="This is the base class for 2D canvases.">csGraphics2D</a> object.  <a href="#faf7f4dd7e6c7a3084356d63efbb1e68"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#4c6ddd693dfe94999ce39ac8ec4f3556">Write</a> (<a class="el" href="structiFont.html">iFont</a> *font, int x, int y, int fg, int bg, const <a class="el" href="group__util.html#g43124e776b499fd41c598b2f6d210242">wchar_t</a> *text, <a class="el" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> flags=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Write a text string into the back buffer.  <a href="#4c6ddd693dfe94999ce39ac8ec4f3556"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#448ceebeaf886118f364e1f6150de7de">Write</a> (<a class="el" href="structiFont.html">iFont</a> *font, int x, int y, int fg, int bg, const char *text, <a class="el" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> flags=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Write a text string into the back buffer.  <a href="#448ceebeaf886118f364e1f6150de7de"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void(*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#91a2f77ca34221ba96a02cfa14176596">_DrawPixel</a> )(<a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *This, int x, int y, int color)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">To facilitate multiple pixel formats, the most critical drawing routines are defined as pointers to functions, not as virtual methods.  <a href="#91a2f77ca34221ba96a02cfa14176596"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned char *(*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#7e1b4b3b4c5a1b86e070653fd926e9e3">_GetPixelAt</a> )(<a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *This, int x, int y)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">(*) Get address of video RAM at given x,y coordinates  <a href="#7e1b4b3b4c5a1b86e070653fd926e9e3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#f5191f7fc3e7a5a122e45faacb674ead">AllowResizing</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Whether to allow resizing.  <a href="#f5191f7fc3e7a5a122e45faacb674ead"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#41e24cdd5c81af9429d80ee3faf4202c">ClipX1</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The clipping rectangle.  <a href="#41e24cdd5c81af9429d80ee3faf4202c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9af7a75cabce92e85f63382a7e0a9bc7"></a><!-- doxytag: member="csGraphics2D::ClipX2" ref="9af7a75cabce92e85f63382a7e0a9bc7" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#9af7a75cabce92e85f63382a7e0a9bc7">ClipX2</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9c6a63dd0529274f99577405d3d6b07b"></a><!-- doxytag: member="csGraphics2D::ClipY1" ref="9c6a63dd0529274f99577405d3d6b07b" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#9c6a63dd0529274f99577405d3d6b07b">ClipY1</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c702b0713f6eca3aa0e842fe2ac76dcd"></a><!-- doxytag: member="csGraphics2D::ClipY2" ref="c702b0713f6eca3aa0e842fe2ac76dcd" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#c702b0713f6eca3aa0e842fe2ac76dcd">ClipY2</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcsConfigAccess.html">csConfigAccess</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#faca9df02ced27bb827dcf74c5ea313c">config</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The configuration file.  <a href="#faca9df02ced27bb827dcf74c5ea313c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="168b58a674d5aa45e87a6f0d94fe48cc"></a><!-- doxytag: member="csGraphics2D::Depth" ref="168b58a674d5aa45e87a6f0d94fe48cc" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#168b58a674d5aa45e87a6f0d94fe48cc">Depth</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#6b5ec9c6fa8e4ce6f9854ebd0074fd15">DisplayNumber</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display number.  <a href="#6b5ec9c6fa8e4ce6f9854ebd0074fd15"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcsFontCache.html">csFontCache</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#7d769ec8772766603e52f27e1bf85912">fontCache</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The font cache.  <a href="#7d769ec8772766603e52f27e1bf85912"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcsWeakRef.html">csWeakRef</a>&lt; <a class="el" href="structiFontServer.html">iFontServer</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#a1f6a0bc8182cb03e3d07a1ab65514f6">FontServer</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The font server.  <a href="#a1f6a0bc8182cb03e3d07a1ab65514f6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#dbbaecc2d7f5a768b0ee3653adb70901">FrameBufferLocked</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The counter that is incremented inside BeginDraw and decremented in <a class="el" href="classcsGraphics2D.html#e3b8015b220e90fa77acb1cc60a028a8" title="This routine should be called when you finished drawing.">FinishDraw()</a>.  <a href="#dbbaecc2d7f5a768b0ee3653adb70901"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#ca1aa44bfb960122123cbc6de9a16e4f">FullScreen</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True if visual is full-screen.  <a href="#ca1aa44bfb960122123cbc6de9a16e4f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9a74748b45303789f7ba4e86f0700123"></a><!-- doxytag: member="csGraphics2D::Height" ref="9a74748b45303789f7ba4e86f0700123" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#9a74748b45303789f7ba4e86f0700123">Height</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#348793a4686b8dc06bc95a2ec2895350">is_open</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Open/Close state.  <a href="#348793a4686b8dc06bc95a2ec2895350"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#41d3232fafa8efbd56996987c1e0ce49">LineAddress</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Keep a array of Y*width to avoid multiplications.  <a href="#41d3232fafa8efbd56996987c1e0ce49"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#72b28efa5935d7b11ad2715e646d93cf">Memory</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Most systems have a pointer to (real or pseudo) video RAM.  <a href="#72b28efa5935d7b11ad2715e646d93cf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structiObjectRegistry.html">iObjectRegistry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#56bf86b9ef2776eaab05ccfaab4da55e">object_reg</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The object registry.  <a href="#56bf86b9ef2776eaab05ccfaab4da55e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcsRef.html">csRef</a><br>
&lt; <a class="el" href="structiOffscreenCanvasCallback.html">iOffscreenCanvasCallback</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#f9b4982829efab8626e850908b60f537">ofscb</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Callback to use for informing an external agent when several canvas operations have occured.  <a href="#f9b4982829efab8626e850908b60f537"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcsRGBpixel.html">csRGBpixel</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#d0d0e90d9dc680fcccb5cc1dc38cd8b2">Palette</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">256-color palette.  <a href="#d0d0e90d9dc680fcccb5cc1dc38cd8b2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#5e52762f38e5e0fd2a5e5cde5a8496f8">PaletteAlloc</a> [256]</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">true if some palette entry is already allocated.  <a href="#5e52762f38e5e0fd2a5e5cde5a8496f8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcsPixelFormat.html">csPixelFormat</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#118dd580babe3a8416c1e7b89f6dfdfe">pfmt</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The pixel format.  <a href="#118dd580babe3a8416c1e7b89f6dfdfe"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcsWeakRef.html">csWeakRef</a><br>
&lt; <a class="el" href="structiPluginManager.html">iPluginManager</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#378c626c4b138f638fed4e20d192bd50">plugin_mgr</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The plugin manager.  <a href="#378c626c4b138f638fed4e20d192bd50"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6a7a5c7f7bdae23f0d39c9fae2a36f5b"></a><!-- doxytag: member="csGraphics2D::vpHeight" ref="6a7a5c7f7bdae23f0d39c9fae2a36f5b" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#6a7a5c7f7bdae23f0d39c9fae2a36f5b">vpHeight</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f875700e647efa07883effbffa3d361d"></a><!-- doxytag: member="csGraphics2D::vpSet" ref="f875700e647efa07883effbffa3d361d" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#f875700e647efa07883effbffa3d361d">vpSet</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2039b9995dade8ad57139bf27ee82a4a"></a><!-- doxytag: member="csGraphics2D::vpWidth" ref="2039b9995dade8ad57139bf27ee82a4a" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#2039b9995dade8ad57139bf27ee82a4a">vpWidth</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#3c2135de59a14b5f01387356663ecfe2">Width</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The width, height and depth of visual.  <a href="#3c2135de59a14b5f01387356663ecfe2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcsString.html">csString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#6dfd1706739e4de30fc6a2698514e907">win_title</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pointer to a title.  <a href="#6dfd1706739e4de30fc6a2698514e907"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">iNativeWindowManager implementation</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#fc2495889f74bfb9ebafcce437cb4411">Alert</a> (int type, const <a class="el" href="group__util.html#g43124e776b499fd41c598b2f6d210242">wchar_t</a> *title, const <a class="el" href="group__util.html#g43124e776b499fd41c598b2f6d210242">wchar_t</a> *okMsg, const <a class="el" href="group__util.html#g43124e776b499fd41c598b2f6d210242">wchar_t</a> *msg,...)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Show an alert.  <a href="#fc2495889f74bfb9ebafcce437cb4411"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#db5d4448c88ca89e7e8cc1b5be06685f">Alert</a> (int type, const char *title, const char *okMsg, const char *msg,...)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Show an alert.  <a href="#db5d4448c88ca89e7e8cc1b5be06685f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#0a9a4c807ad6ff22085ac0b1a993ea2f">AlertV</a> (int type, const <a class="el" href="group__util.html#g43124e776b499fd41c598b2f6d210242">wchar_t</a> *title, const <a class="el" href="group__util.html#g43124e776b499fd41c598b2f6d210242">wchar_t</a> *okMsg, const <a class="el" href="group__util.html#g43124e776b499fd41c598b2f6d210242">wchar_t</a> *msg, va_list args)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Show an alert.  <a href="#0a9a4c807ad6ff22085ac0b1a993ea2f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#23e9e9c51bcee0dbd6253e68405da350">AlertV</a> (int type, const char *title, const char *okMsg, const char *msg, va_list args)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Show an alert.  <a href="#23e9e9c51bcee0dbd6253e68405da350"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">iDebugHelper implementation</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="group__util.html#g28e82998c4c2d1197a1d412bba7da793">csTicks</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#2893114cbae18229b548bfd9f943ac39">Benchmark</a> (int)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Perform a benchmark.  <a href="#2893114cbae18229b548bfd9f943ac39"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#650d609cd42b6ffa4d0202f967afb5f9">DebugCommand</a> (const char *cmd)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Perform a debug command as defined by the module itself.  <a href="#650d609cd42b6ffa4d0202f967afb5f9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#2585a44e51aa67229d913b07fd08680c">Dump</a> (<a class="el" href="structiGraphics3D.html">iGraphics3D</a> *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Do a graphical dump of the current state of this object.  <a href="#2585a44e51aa67229d913b07fd08680c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcsPtr.html">csPtr</a>&lt; <a class="el" href="structiString.html">iString</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#d18cfdebff3b4f229a6e622d244bd8c5">Dump</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Do a text dump of the current state of this object.  <a href="#d18cfdebff3b4f229a6e622d244bd8c5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#33d4cb05db52df7f839314e0ba3eb34d">GetSupportedTests</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return a bit field indicating what types of functions this specific unit test implementation supports.  <a href="#33d4cb05db52df7f839314e0ba3eb34d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcsPtr.html">csPtr</a>&lt; <a class="el" href="structiString.html">iString</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#ac3ae113d7cd73d18dcfc5129c69e7c8">StateTest</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Perform a state test.  <a href="#ac3ae113d7cd73d18dcfc5129c69e7c8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcsPtr.html">csPtr</a>&lt; <a class="el" href="structiString.html">iString</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#208fd0a334afeead0b0d0eacc82cf3e7">UnitTest</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Perform a unit test.  <a href="#208fd0a334afeead0b0d0eacc82cf3e7"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">iPluginConfig implementation</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#8b3b1c9d101e3d8a8dc788e95c9597e2">GetOption</a> (int id, <a class="el" href="structcsVariant.html">csVariant</a> *value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get option.  <a href="#8b3b1c9d101e3d8a8dc788e95c9597e2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#f65097f9a0629fad249a835e3a4e5e02">GetOptionDescription</a> (int idx, <a class="el" href="structcsOptionDescription.html">csOptionDescription</a> *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get option description; return FALSE if there is no such option.  <a href="#f65097f9a0629fad249a835e3a4e5e02"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#68741c009ecdcd9b0dc209881ebfd9d3">SetOption</a> (int id, <a class="el" href="structcsVariant.html">csVariant</a> *value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set option.  <a href="#68741c009ecdcd9b0dc209881ebfd9d3"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">iNativeWindow implementation</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#9e983328cf70fe912f193d5606356a52">SetTitle</a> (const <a class="el" href="group__util.html#g43124e776b499fd41c598b2f6d210242">wchar_t</a> *title)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the title for this window.  <a href="#9e983328cf70fe912f193d5606356a52"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#d7253c856a1d71f426d9417c84966593">SetTitle</a> (const char *title)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the title for this window.  <a href="#d7253c856a1d71f426d9417c84966593"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#ba1db9b9b1954848439cbd67bdd728e9">DrawPixel16</a> (<a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *This, int x, int y, int color)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draw a pixel in 16-bit modes.  <a href="#ba1db9b9b1954848439cbd67bdd728e9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#1fe665badf17611227f63eb815f1e085">DrawPixel32</a> (<a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *This, int x, int y, int color)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draw a pixel in 32-bit modes.  <a href="#1fe665badf17611227f63eb815f1e085"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#82474be1111ecbcdc07cb5f52ccd4811">DrawPixel8</a> (<a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *This, int x, int y, int color)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default drawing routines for 8-bit and 16-bit modes If a system port has its own routines, it should assign their addresses to respective pointers.  <a href="#82474be1111ecbcdc07cb5f52ccd4811"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static unsigned char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#68e902fb6571c11a3281d858ecc66097">GetPixelAt16</a> (<a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *This, int x, int y)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return address of a 16-bit pixel.  <a href="#68e902fb6571c11a3281d858ecc66097"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static unsigned char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#8c25d17ad19ccfc9c1a647065468ffee">GetPixelAt32</a> (<a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *This, int x, int y)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return address of a 32-bit pixel.  <a href="#8c25d17ad19ccfc9c1a647065468ffee"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static unsigned char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#2a90d1fd3ad51ccd7cd3ce1f48ba6c0e">GetPixelAt8</a> (<a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *This, int x, int y)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return address of a 8-bit pixel.  <a href="#2a90d1fd3ad51ccd7cd3ce1f48ba6c0e"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1803df471e4e3fa4b2f4df638e4042d5"></a><!-- doxytag: member="csGraphics2D::name" ref="1803df471e4e3fa4b2f4df638e4042d5" args="" -->
<a class="el" href="classcsString.html">csString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#1803df471e4e3fa4b2f4df638e4042d5">name</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#721f04ae382fa7955813bf7a4ab73de9">refreshRate</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Screen refresh rate.  <a href="#721f04ae382fa7955813bf7a4ab73de9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#690bd6cf3a5e0a5b4e801a5f4095510f">vsync</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Activate Vsync.  <a href="#690bd6cf3a5e0a5b4e801a5f4095510f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="65c5384bb6ae05688f24e335e9390031"></a><!-- doxytag: member="csGraphics2D::weakEventHandler" ref="65c5384bb6ae05688f24e335e9390031" args="" -->
<a class="el" href="classcsRef.html">csRef</a>&lt; <a class="el" href="structiEventHandler.html">iEventHandler</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGraphics2D.html#65c5384bb6ae05688f24e335e9390031">weakEventHandler</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This is the base class for 2D canvases. 
<p>
Plugins should derive their own class from this one and implement required (marked with an asterisk (*)) functions. Functions not marked with an asterisk are optional, but possibly slow since they are too general. 
<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00062">62</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="3d9305c2317fe1c9b982eb879e402997"></a><!-- doxytag: member="csGraphics2D::csGraphics2D" ref="3d9305c2317fe1c9b982eb879e402997" args="(iBase *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">csGraphics2D::csGraphics2D           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structiBase.html">iBase</a> *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create <a class="el" href="classcsGraphics2D.html" title="This is the base class for 2D canvases.">csGraphics2D</a> object. 
<p>

</div>
</div><p>
<a class="anchor" name="faf7f4dd7e6c7a3084356d63efbb1e68"></a><!-- doxytag: member="csGraphics2D::~csGraphics2D" ref="faf7f4dd7e6c7a3084356d63efbb1e68" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual csGraphics2D::~csGraphics2D           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destroy <a class="el" href="classcsGraphics2D.html" title="This is the base class for 2D canvases.">csGraphics2D</a> object. 
<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="fc2495889f74bfb9ebafcce437cb4411"></a><!-- doxytag: member="csGraphics2D::Alert" ref="fc2495889f74bfb9ebafcce437cb4411" args="(int type, const wchar_t *title, const wchar_t *okMsg, const wchar_t *msg,...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::Alert           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__util.html#g43124e776b499fd41c598b2f6d210242">wchar_t</a> *&nbsp;</td>
          <td class="paramname"> <em>title</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__util.html#g43124e776b499fd41c598b2f6d210242">wchar_t</a> *&nbsp;</td>
          <td class="paramname"> <em>okMsg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__util.html#g43124e776b499fd41c598b2f6d210242">wchar_t</a> *&nbsp;</td>
          <td class="paramname"> <em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&nbsp;</td>
          <td class="paramname"> <em>...</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Show an alert. 
<p>
Type is one of CS_ALERT_???. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__gfx2d.html#g1ba306f8b720788dc0f5e08c384aa3dd" title="Display an error.">CS_ALERT_ERROR</a> <p>
<a class="el" href="group__util.html">Notes about string formatting in Crystal Space</a> </dd></dl>

<p>Reimplemented from <a class="el" href="structiNativeWindowManager.html#f40ec3f2f92237dc7b9fa6ca8ac43f4e">iNativeWindowManager</a>.</p>

</div>
</div><p>
<a class="anchor" name="db5d4448c88ca89e7e8cc1b5be06685f"></a><!-- doxytag: member="csGraphics2D::Alert" ref="db5d4448c88ca89e7e8cc1b5be06685f" args="(int type, const char *title, const char *okMsg, const char *msg,...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::Alert           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>title</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>okMsg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&nbsp;</td>
          <td class="paramname"> <em>...</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Show an alert. 
<p>
Type is one of CS_ALERT_???. <dl class="remark" compact><dt><b>Remarks:</b></dt><dd>All strings are expected to be UTF-8 encoded. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__gfx2d.html#g1ba306f8b720788dc0f5e08c384aa3dd" title="Display an error.">CS_ALERT_ERROR</a> <p>
<a class="el" href="group__util.html">Notes about string formatting in Crystal Space</a> </dd></dl>

<p>Implements <a class="el" href="structiNativeWindowManager.html#06e217be4bfa5a33311c4b3c850d00cc">iNativeWindowManager</a>.</p>

</div>
</div><p>
<a class="anchor" name="0a9a4c807ad6ff22085ac0b1a993ea2f"></a><!-- doxytag: member="csGraphics2D::AlertV" ref="0a9a4c807ad6ff22085ac0b1a993ea2f" args="(int type, const wchar_t *title, const wchar_t *okMsg, const wchar_t *msg, va_list args)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::AlertV           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__util.html#g43124e776b499fd41c598b2f6d210242">wchar_t</a> *&nbsp;</td>
          <td class="paramname"> <em>title</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__util.html#g43124e776b499fd41c598b2f6d210242">wchar_t</a> *&nbsp;</td>
          <td class="paramname"> <em>okMsg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__util.html#g43124e776b499fd41c598b2f6d210242">wchar_t</a> *&nbsp;</td>
          <td class="paramname"> <em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">va_list&nbsp;</td>
          <td class="paramname"> <em>arg</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Show an alert. 
<p>
Type is one of CS_ALERT_???. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__gfx2d.html#g1ba306f8b720788dc0f5e08c384aa3dd" title="Display an error.">CS_ALERT_ERROR</a> <p>
<a class="el" href="group__util.html">Notes about string formatting in Crystal Space</a> </dd></dl>

<p>Reimplemented from <a class="el" href="structiNativeWindowManager.html#662d74ac5ff3150ab20ec6055d2bd218">iNativeWindowManager</a>.</p>

</div>
</div><p>
<a class="anchor" name="23e9e9c51bcee0dbd6253e68405da350"></a><!-- doxytag: member="csGraphics2D::AlertV" ref="23e9e9c51bcee0dbd6253e68405da350" args="(int type, const char *title, const char *okMsg, const char *msg, va_list args)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::AlertV           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>title</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>okMsg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">va_list&nbsp;</td>
          <td class="paramname"> <em>arg</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Show an alert. 
<p>
Type is one of CS_ALERT_???. <dl class="remark" compact><dt><b>Remarks:</b></dt><dd>All strings are expected to be UTF-8 encoded. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__gfx2d.html#g1ba306f8b720788dc0f5e08c384aa3dd" title="Display an error.">CS_ALERT_ERROR</a> <p>
<a class="el" href="group__util.html">Notes about string formatting in Crystal Space</a> </dd></dl>

<p>Implements <a class="el" href="structiNativeWindowManager.html#4234c723608a28704f6903689bb2c32d">iNativeWindowManager</a>.</p>

</div>
</div><p>
<a class="anchor" name="759ebbe1667a78c1fc28d5a3d9bd029d"></a><!-- doxytag: member="csGraphics2D::AllowResize" ref="759ebbe1667a78c1fc28d5a3d9bd029d" args="(bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::AllowResize           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Enable/disable canvas resize (Over-ride in sub classes). 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#222a464617b214ac3d58635794e96b9e">iGraphics2D</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00348">348</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="0eb668e6b8498a6988e4d87dae67a887"></a><!-- doxytag: member="csGraphics2D::BeginDraw" ref="0eb668e6b8498a6988e4d87dae67a887" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::BeginDraw           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This routine should be called before any draw operations. 
<p>
It should return true if graphics context is ready. 
<p>Implements <a class="el" href="structiGraphics2D.html#7901d5c26aaf8fddc078b1d5e9d3ba24">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#66ca8053f80309cf4c014014e6795d71">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="2893114cbae18229b548bfd9f943ac39"></a><!-- doxytag: member="csGraphics2D::Benchmark" ref="2893114cbae18229b548bfd9f943ac39" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__util.html#g28e82998c4c2d1197a1d412bba7da793">csTicks</a> csGraphics2D::Benchmark           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>num_iterations</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Perform a benchmark. 
<p>
This function will return a number indicating how long the benchmark lasted in milliseconds. 
<p>Implements <a class="el" href="structiDebugHelper.html#25c2acc4eb241ee157d4ee44a18ec076">iDebugHelper</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00452">452</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="7ece8817dd9e44e4f1fbc93a350b51d0"></a><!-- doxytag: member="csGraphics2D::Blit" ref="7ece8817dd9e44e4f1fbc93a350b51d0" args="(int x, int y, int width, int height, unsigned char const *data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::Blit           </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>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char const *&nbsp;</td>
          <td class="paramname"> <em>data</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Blit a memory block. Format of the image is RGBA in bytes. Row by row. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#dee6b567cb1aa39ded1ae4bc1abb9128">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#b6efdeff246176d96c6b6e9de132762d">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="ed9c6f12ac23ac95ab4fad9c853ab8c3"></a><!-- doxytag: member="csGraphics2D::ChangeDepth" ref="ed9c6f12ac23ac95ab4fad9c853ab8c3" args="(int d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::ChangeDepth           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>d</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Change the depth of the canvas. 
<p>

</div>
</div><p>
<a class="anchor" name="c3249a8ad143158380c70ccf566b4c3b"></a><!-- doxytag: member="csGraphics2D::Clear" ref="c3249a8ad143158380c70ccf566b4c3b" args="(int color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::Clear           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>color</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Clear backbuffer. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#e65d69ddf39f387adb9eb4e2ba61c1cc">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#1939957bae2ba62625234304cdce98c7">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="ae286debb19aae4db139c6e8f51e61ac"></a><!-- doxytag: member="csGraphics2D::ClearAll" ref="ae286debb19aae4db139c6e8f51e61ac" args="(int color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::ClearAll           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>color</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Clear all video pages. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#62dd52c9b2bd80e33071687cfbb9cb92">iGraphics2D</a>.</p>

</div>
</div><p>
<a class="anchor" name="e6cbd6899add5d613f02405573738e19"></a><!-- doxytag: member="csGraphics2D::ClipLine" ref="e6cbd6899add5d613f02405573738e19" args="(float &amp;x1, float &amp;y1, float &amp;x2, float &amp;y2, int xmin, int ymin, int xmax, int ymax)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::ClipLine           </td>
          <td>(</td>
          <td class="paramtype">float &amp;&nbsp;</td>
          <td class="paramname"> <em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&nbsp;</td>
          <td class="paramname"> <em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&nbsp;</td>
          <td class="paramname"> <em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&nbsp;</td>
          <td class="paramname"> <em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>xmin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>ymin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>xmax</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>ymax</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Clip a line against given rectangle Function returns true if line is not visible. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#f4faa8bec7b86a03464cabbe65723adc">iGraphics2D</a>.</p>

</div>
</div><p>
<a class="anchor" name="54a628892914d858bf62c29fe0b20393"></a><!-- doxytag: member="csGraphics2D::Close" ref="54a628892914d858bf62c29fe0b20393" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::Close           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
(*) Close graphics system 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#cf24016625b4539853fe23155b836433">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#c987ef155f3779924bab7650fa346af6">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="b02171a792f95bae108ad1b72b26f175"></a><!-- doxytag: member="csGraphics2D::CreateOffscreenCanvas" ref="b02171a792f95bae108ad1b72b26f175" args="(void *memory, int width, int height, int depth, iOffscreenCanvasCallback *ofscb)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classcsPtr.html">csPtr</a>&lt;<a class="el" href="structiGraphics2D.html">iGraphics2D</a>&gt; csGraphics2D::CreateOffscreenCanvas           </td>
          <td>(</td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>memory</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>depth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structiOffscreenCanvasCallback.html">iOffscreenCanvasCallback</a> *&nbsp;</td>
          <td class="paramname"> <em>ofscb</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create an off-screen canvas so you can render on a given memory area. 
<p>
If depth==8 then the canvas will use palette mode. In that case you can do <a class="el" href="classcsGraphics2D.html#7d9b19438982575bab1bc89cf0e6478e" title="(*) Set a color index to given R,G,B (0..255) values">SetRGB()</a> to initialize the palette. The callback interface (if given) is used to communicate from the canvas back to the caller. You can use this to detect when the texture data has changed for example. 
<p>Implements <a class="el" href="structiGraphics2D.html#a3446546f71865b831d3f93f82bc73f9">iGraphics2D</a>.</p>

</div>
</div><p>
<a class="anchor" name="650d609cd42b6ffa4d0202f967afb5f9"></a><!-- doxytag: member="csGraphics2D::DebugCommand" ref="650d609cd42b6ffa4d0202f967afb5f9" args="(const char *cmd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::DebugCommand           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>cmd</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Perform a debug command as defined by the module itself. 
<p>
Returns 'false' if the command was not recognized. 
<p>Implements <a class="el" href="structiDebugHelper.html#ef3ec51d8b43aec5a72607f8d1cd05f5">iDebugHelper</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#be56c01a973444f6933ea376c8a18b20">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="d8005cc576d9c3ec6c1ebda916951ed5"></a><!-- doxytag: member="csGraphics2D::DoubleBuffer" ref="d8005cc576d9c3ec6c1ebda916951ed5" args="(bool Enable)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::DoubleBuffer           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>Enable</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Enable or disable double buffering; return TRUE if supported. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#6d875cd16cbcb64a3024b3bef79afe47">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#749bcdd7725bd840f8ca5c6e28e93233">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="965a46d57b6828bdefc77a585b8658c0"></a><!-- doxytag: member="csGraphics2D::DrawBox" ref="965a46d57b6828bdefc77a585b8658c0" args="(int x, int y, int w, int h, int color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::DrawBox           </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">int&nbsp;</td>
          <td class="paramname"> <em>color</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw a box of given width and height. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#d6abb6d4a418ad240d83675d6c3cf6c3">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#33e6830f68abd1b0071ff6382b6f1927">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="5e2aa80687926583f039aef90c779ef5"></a><!-- doxytag: member="csGraphics2D::DrawLine" ref="5e2aa80687926583f039aef90c779ef5" args="(float x1, float y1, float x2, float y2, int color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::DrawLine           </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>color</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw a line. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#3b86658dbcea0a9cfb7e6b19483a4bc7">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#259bb764c5bc5888e08fd7d9a4bdd6d1">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="362804c19c45315e8327da8ed52d42f4"></a><!-- doxytag: member="csGraphics2D::DrawPixel" ref="362804c19c45315e8327da8ed52d42f4" args="(int x, int y, int color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::DrawPixel           </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>color</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Same but exposed through <a class="el" href="structiGraphics2D.html" title="This is the interface for 2D renderer.">iGraphics2D</a> interface. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#2609b30b3aab7792da8e60a3553316ec">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#1c7f3cefef89901c94676ac1e6641085">csGraphics2DGLCommon</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00213">213</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="ba1db9b9b1954848439cbd67bdd728e9"></a><!-- doxytag: member="csGraphics2D::DrawPixel16" ref="ba1db9b9b1954848439cbd67bdd728e9" args="(csGraphics2D *This, int x, int y, int color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void csGraphics2D::DrawPixel16           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *&nbsp;</td>
          <td class="paramname"> <em>This</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>color</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw a pixel in 16-bit modes. 
<p>

</div>
</div><p>
<a class="anchor" name="1fe665badf17611227f63eb815f1e085"></a><!-- doxytag: member="csGraphics2D::DrawPixel32" ref="1fe665badf17611227f63eb815f1e085" args="(csGraphics2D *This, int x, int y, int color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void csGraphics2D::DrawPixel32           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *&nbsp;</td>
          <td class="paramname"> <em>This</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>color</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw a pixel in 32-bit modes. 
<p>

</div>
</div><p>
<a class="anchor" name="82474be1111ecbcdc07cb5f52ccd4811"></a><!-- doxytag: member="csGraphics2D::DrawPixel8" ref="82474be1111ecbcdc07cb5f52ccd4811" args="(csGraphics2D *This, int x, int y, int color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void csGraphics2D::DrawPixel8           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *&nbsp;</td>
          <td class="paramname"> <em>This</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>color</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Default drawing routines for 8-bit and 16-bit modes If a system port has its own routines, it should assign their addresses to respective pointers. 
<p>
Draw a pixel in 8-bit modes 
</div>
</div><p>
<a class="anchor" name="db5261b714dd07e1664a849605e98811"></a><!-- doxytag: member="csGraphics2D::DrawPixels" ref="db5261b714dd07e1664a849605e98811" args="(csPixelCoord const *pixels, int num_pixels, int color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::DrawPixels           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcsPixelCoord.html">csPixelCoord</a> const *&nbsp;</td>
          <td class="paramname"> <em>pixels</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>num_pixels</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>color</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draw an array of pixel coordinates with the given color. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#09e7db6102e0327c14a5589255d1da4d">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#16ad49031dc949f01ef8d5d270864be3">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="2585a44e51aa67229d913b07fd08680c"></a><!-- doxytag: member="csGraphics2D::Dump" ref="2585a44e51aa67229d913b07fd08680c" args="(iGraphics3D *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::Dump           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structiGraphics3D.html">iGraphics3D</a> *&nbsp;</td>
          <td class="paramname"> <em>g3d</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Do a graphical dump of the current state of this object. 
<p>

<p>Implements <a class="el" href="structiDebugHelper.html#092959d6706ec98e4758f1cfd4efc413">iDebugHelper</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00454">454</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="d18cfdebff3b4f229a6e622d244bd8c5"></a><!-- doxytag: member="csGraphics2D::Dump" ref="d18cfdebff3b4f229a6e622d244bd8c5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classcsPtr.html">csPtr</a>&lt;<a class="el" href="structiString.html">iString</a>&gt; csGraphics2D::Dump           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Do a text dump of the current state of this object. 
<p>
Returns 0 if not supported or else a string which you should <a class="el" href="classscfImplementation.html#9b996efbd8891c74a46f2c6705b56f89" title="Decrement the reference count.">DecRef()</a> after use. 
<p>Implements <a class="el" href="structiDebugHelper.html#8f8586bce8979a6af565408a803090a9">iDebugHelper</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00453">453</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="8ec4bfdefe11b76c144bc5ddbe7601d8"></a><!-- doxytag: member="csGraphics2D::FindRGB" ref="8ec4bfdefe11b76c144bc5ddbe7601d8" args="(int r, int g, int b, int a=255)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int csGraphics2D::FindRGB           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>a</em> = <code>255</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Find an RGB (0. 
<p>
.255) color. If there is a palette, this returns an entry index set with <a class="el" href="classcsGraphics2D.html#7d9b19438982575bab1bc89cf0e6478e" title="(*) Set a color index to given R,G,B (0..255) values">SetRGB()</a>. If the returned value is -1, a suitable palette entry was not found. Without a palette, the actual color bytes are returned. <p>
Use returned value for color arguments in <a class="el" href="structiGraphics2D.html" title="This is the interface for 2D renderer.">iGraphics2D</a>. 
<p>Implements <a class="el" href="structiGraphics2D.html#60b21bab24b2e9e20062a610b0f8fc8e">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#5f8badc53623e82da38e5bd370ffea0b">csGraphics2DGLCommon</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00227">227</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="e3b8015b220e90fa77acb1cc60a028a8"></a><!-- doxytag: member="csGraphics2D::FinishDraw" ref="e3b8015b220e90fa77acb1cc60a028a8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::FinishDraw           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This routine should be called when you finished drawing. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#58e0448afd981ebe5b402a3151c7bb9e">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#076164d2ed051850f3b525a8324832a2">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="126b7e24b098a908b4a7d448c8be09ed"></a><!-- doxytag: member="csGraphics2D::FreeArea" ref="126b7e24b098a908b4a7d448c8be09ed" args="(csImageArea *Area)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::FreeArea           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcsImageArea.html">csImageArea</a> *&nbsp;</td>
          <td class="paramname"> <em>Area</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Free storage allocated for a subarea of screen. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#e221be199450186edecc2fa5cd63ebb7">iGraphics2D</a>.</p>

</div>
</div><p>
<a class="anchor" name="311639eac3b096eed0e54758194069b3"></a><!-- doxytag: member="csGraphics2D::GetClipRect" ref="311639eac3b096eed0e54758194069b3" args="(int &amp;xmin, int &amp;ymin, int &amp;xmax, int &amp;ymax)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::GetClipRect           </td>
          <td>(</td>
          <td class="paramtype">int &amp;&nbsp;</td>
          <td class="paramname"> <em>xmin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&nbsp;</td>
          <td class="paramname"> <em>ymin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&nbsp;</td>
          <td class="paramname"> <em>xmax</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&nbsp;</td>
          <td class="paramname"> <em>ymax</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Query clipping rectangle. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#661e73275c951a9871ba8ac40170bbd3">iGraphics2D</a>.</p>

</div>
</div><p>
<a class="anchor" name="02c5ff22358b90534656e84794114ca4"></a><!-- doxytag: member="csGraphics2D::GetDoubleBufferState" ref="02c5ff22358b90534656e84794114ca4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::GetDoubleBufferState           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return current double buffering state. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#8fbdea73dbd3bedda5b450f057ecaee8">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#900c24d2fe30745a8b736750a2cd5add">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="8a56ffc416252a5a7ec887e9615e1b0a"></a><!-- doxytag: member="csGraphics2D::GetFontServer" ref="8a56ffc416252a5a7ec887e9615e1b0a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structiFontServer.html">iFontServer</a>* csGraphics2D::GetFontServer           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the font server. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#dcd4e89ff570605a377946f1ee37ce74">iGraphics2D</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00315">315</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="a4f549d06eec17c7c9c1a03f9e01694d"></a><!-- doxytag: member="csGraphics2D::GetFullScreen" ref="a4f549d06eec17c7c9c1a03f9e01694d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::GetFullScreen           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns 'true' if the program is being run full-screen. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#3c2411ae31cabeb4721fa4d8b24a4017">iGraphics2D</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00357">357</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="b371a0110449fa6fb6bba59f11dab181"></a><!-- doxytag: member="csGraphics2D::GetGamma" ref="b371a0110449fa6fb6bba59f11dab181" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual float csGraphics2D::GetGamma           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get gamma value. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#f6e94f5e9c6a321eadddaff7842ade83">iGraphics2D</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00296">296</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="96f58c12519379b06e75f38e958f8264"></a><!-- doxytag: member="csGraphics2D::GetHeight" ref="96f58c12519379b06e75f38e958f8264" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int csGraphics2D::GetHeight           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the height of the framebuffer. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#02ffd3328c7d0389f7e2d4008d3e7831">iGraphics2D</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00320">320</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="4de525dc09ee5962e5d81b70dd2c83b3"></a><!-- doxytag: member="csGraphics2D::GetName" ref="4de525dc09ee5962e5d81b70dd2c83b3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* csGraphics2D::GetName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the name of this canvas. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#adcd35bd3fa0371b088252a55eff9ac0">iGraphics2D</a>.</p>

</div>
</div><p>
<a class="anchor" name="79a53b47a12044f8404384f8da038cbb"></a><!-- doxytag: member="csGraphics2D::GetNativeWindow" ref="79a53b47a12044f8404384f8da038cbb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structiNativeWindow.html">iNativeWindow</a>* csGraphics2D::GetNativeWindow           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the Native Window interface for this canvas (if it has one). 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#2dcff33536b46a742cbeb22ee8aea07f">iGraphics2D</a>.</p>

</div>
</div><p>
<a class="anchor" name="8b3b1c9d101e3d8a8dc788e95c9597e2"></a><!-- doxytag: member="csGraphics2D::GetOption" ref="8b3b1c9d101e3d8a8dc788e95c9597e2" args="(int id, csVariant *value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::GetOption           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structcsVariant.html">csVariant</a> *&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get option. 
<p>

<p>Implements <a class="el" href="structiPluginConfig.html#5b696e4beacd0b33195980b362d720bc">iPluginConfig</a>.</p>

</div>
</div><p>
<a class="anchor" name="f65097f9a0629fad249a835e3a4e5e02"></a><!-- doxytag: member="csGraphics2D::GetOptionDescription" ref="f65097f9a0629fad249a835e3a4e5e02" args="(int idx, csOptionDescription *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::GetOptionDescription           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>idx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structcsOptionDescription.html">csOptionDescription</a> *&nbsp;</td>
          <td class="paramname"> <em>option</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get option description; return FALSE if there is no such option. 
<p>

<p>Implements <a class="el" href="structiPluginConfig.html#c461a6a85570948f2d92d639a2654857">iPluginConfig</a>.</p>

</div>
</div><p>
<a class="anchor" name="693f178ace4b26c8bdb05a528e36d0e9"></a><!-- doxytag: member="csGraphics2D::GetPage" ref="693f178ace4b26c8bdb05a528e36d0e9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int csGraphics2D::GetPage           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get active videopage number (starting from zero). 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#0c5c7675d25c35faad8664787d68f3f2">iGraphics2D</a>.</p>

</div>
</div><p>
<a class="anchor" name="a370c4f5fb8c1812cab9ebc6e98b0a47"></a><!-- doxytag: member="csGraphics2D::GetPalEntryCount" ref="a370c4f5fb8c1812cab9ebc6e98b0a47" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int csGraphics2D::GetPalEntryCount           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the number of palette entries that can be modified. 
<p>
This should return 0 if there is no palette (true color displays). This function is equivalent to the PalEntries field that you get from <a class="el" href="classcsGraphics2D.html#8bed12796691e5a79ed9eae7698a151e" title="Return information about about the pixel format.">GetPixelFormat()</a>. It is just a little bit easier to obtain this way. 
<p>Implements <a class="el" href="structiGraphics2D.html#3d72e1b805625ce1e86a941931ffb91d">iGraphics2D</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00267">267</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="23df9b2d355b8ee5077d8a1a7e6c75fd"></a><!-- doxytag: member="csGraphics2D::GetPalette" ref="23df9b2d355b8ee5077d8a1a7e6c75fd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structcsRGBpixel.html">csRGBpixel</a>* csGraphics2D::GetPalette           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the palette (if there is one). 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#db2ede0cb8859bac4da2858ff230a50a">iGraphics2D</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00324">324</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="b754a58e7859b5c417808837ed36574e"></a><!-- doxytag: member="csGraphics2D::GetPixel" ref="b754a58e7859b5c417808837ed36574e" args="(int x, int y, uint8 &amp;oR, uint8 &amp;oG, uint8 &amp;oB, uint8 &amp;oA)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::GetPixel           </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"><a class="el" href="group__util.html#gdde6aaee8457bee49c2a92621fe22b79">uint8</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>oR</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__util.html#gdde6aaee8457bee49c2a92621fe22b79">uint8</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>oG</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__util.html#gdde6aaee8457bee49c2a92621fe22b79">uint8</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>oB</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__util.html#gdde6aaee8457bee49c2a92621fe22b79">uint8</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>oA</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
As <a class="el" href="classcsGraphics2D.html#a4a5cfa0d33828728869165f2f05163e" title="Query pixel R,G,B at given screen location.">GetPixel()</a> above, but with alpha. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#4fc7d8f725bc3b48499b1d16289f2cd0">iGraphics2D</a>.</p>

</div>
</div><p>
<a class="anchor" name="a4a5cfa0d33828728869165f2f05163e"></a><!-- doxytag: member="csGraphics2D::GetPixel" ref="a4a5cfa0d33828728869165f2f05163e" args="(int x, int y, uint8 &amp;oR, uint8 &amp;oG, uint8 &amp;oB)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::GetPixel           </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"><a class="el" href="group__util.html#gdde6aaee8457bee49c2a92621fe22b79">uint8</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>oR</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__util.html#gdde6aaee8457bee49c2a92621fe22b79">uint8</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>oG</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__util.html#gdde6aaee8457bee49c2a92621fe22b79">uint8</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>oB</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Query pixel R,G,B at given screen location. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#4b6b04ba42306f59f17743693c800128">iGraphics2D</a>.</p>

</div>
</div><p>
<a class="anchor" name="68beac8a1ae92e157a916b9d55f9f8ea"></a><!-- doxytag: member="csGraphics2D::GetPixelAt" ref="68beac8a1ae92e157a916b9d55f9f8ea" args="(int x, int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual unsigned char* csGraphics2D::GetPixelAt           </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><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Same but exposed through <a class="el" href="structiGraphics2D.html" title="This is the interface for 2D renderer.">iGraphics2D</a> interface. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#f870653e98aeae7555208ad9e0e793a2">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#08e554c721bdcb02f497ff040d3438e6">csGraphics2DGLCommon</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00257">257</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

<p>Referenced by <a class="el" href="draw__box_8h-source.html#l00043">csG2DDrawBox&lt; Tpixel, Tpixmixer &gt;::DrawBox()</a>, <a class="el" href="draw__line_8h-source.html#l00040">csG2DDrawLine&lt; Tpixel, Tpixmixer &gt;::DrawLine()</a>, and <a class="el" href="draw__text_8h-source.html#l00045">csG2DDrawText&lt; Tpixel, Tpixmixer1, Tpixmixer2, Tpixmixer3 &gt;::DrawText()</a>.</p>

</div>
</div><p>
<a class="anchor" name="68e902fb6571c11a3281d858ecc66097"></a><!-- doxytag: member="csGraphics2D::GetPixelAt16" ref="68e902fb6571c11a3281d858ecc66097" args="(csGraphics2D *This, int x, int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static unsigned char* csGraphics2D::GetPixelAt16           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *&nbsp;</td>
          <td class="paramname"> <em>This</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><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return address of a 16-bit pixel. 
<p>

</div>
</div><p>
<a class="anchor" name="8c25d17ad19ccfc9c1a647065468ffee"></a><!-- doxytag: member="csGraphics2D::GetPixelAt32" ref="8c25d17ad19ccfc9c1a647065468ffee" args="(csGraphics2D *This, int x, int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static unsigned char* csGraphics2D::GetPixelAt32           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *&nbsp;</td>
          <td class="paramname"> <em>This</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><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return address of a 32-bit pixel. 
<p>

</div>
</div><p>
<a class="anchor" name="2a90d1fd3ad51ccd7cd3ce1f48ba6c0e"></a><!-- doxytag: member="csGraphics2D::GetPixelAt8" ref="2a90d1fd3ad51ccd7cd3ce1f48ba6c0e" args="(csGraphics2D *This, int x, int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static unsigned char* csGraphics2D::GetPixelAt8           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *&nbsp;</td>
          <td class="paramname"> <em>This</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><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return address of a 8-bit pixel. 
<p>

</div>
</div><p>
<a class="anchor" name="4ee5d7eed369c3347202b59afd4bb46b"></a><!-- doxytag: member="csGraphics2D::GetPixelBytes" ref="4ee5d7eed369c3347202b59afd4bb46b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int csGraphics2D::GetPixelBytes           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the number of bytes for every pixel. 
<p>
This function is equivalent to the PixelBytes field that you get from <a class="el" href="classcsGraphics2D.html#8bed12796691e5a79ed9eae7698a151e" title="Return information about about the pixel format.">GetPixelFormat()</a>. 
<p>Implements <a class="el" href="structiGraphics2D.html#1c0c628776e00d3a11c6d78d2d432a78">iGraphics2D</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00275">275</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="8bed12796691e5a79ed9eae7698a151e"></a><!-- doxytag: member="csGraphics2D::GetPixelFormat" ref="8bed12796691e5a79ed9eae7698a151e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structcsPixelFormat.html">csPixelFormat</a> const* csGraphics2D::GetPixelFormat           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return information about about the pixel format. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#3c434c0095d5efa50f8acdefe7cdd283">iGraphics2D</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00281">281</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="834bef9425152a2e0938768670cee386"></a><!-- doxytag: member="csGraphics2D::GetRGB" ref="834bef9425152a2e0938768670cee386" args="(int color, int &amp;r, int &amp;g, int &amp;b, int &amp;a)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::GetRGB           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>color</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&nbsp;</td>
          <td class="paramname"> <em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&nbsp;</td>
          <td class="paramname"> <em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&nbsp;</td>
          <td class="paramname"> <em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&nbsp;</td>
          <td class="paramname"> <em>a</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve the R,G,B,A tuple for a given color index. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#8b323510cca4bb0383a50d8fec0d3a9f">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#191ae6da40780f9112e81c4202d44559">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="f8dee69eb3096a1f931e67ae951bfb8c"></a><!-- doxytag: member="csGraphics2D::GetRGB" ref="f8dee69eb3096a1f931e67ae951bfb8c" args="(int color, int &amp;r, int &amp;g, int &amp;b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::GetRGB           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>color</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&nbsp;</td>
          <td class="paramname"> <em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&nbsp;</td>
          <td class="paramname"> <em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&nbsp;</td>
          <td class="paramname"> <em>b</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve the R,G,B tuple for a given color index. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#31b837f87f3108c4e23d5e18d73137d0">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#22d0bff3860872bcd667c94a561fc27b">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="33d4cb05db52df7f839314e0ba3eb34d"></a><!-- doxytag: member="csGraphics2D::GetSupportedTests" ref="33d4cb05db52df7f839314e0ba3eb34d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int csGraphics2D::GetSupportedTests           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return a bit field indicating what types of functions this specific unit test implementation supports. 
<p>
This will return a combination of the CS_DBGHELP_... flags:<ul>
<li><a class="el" href="group__util.html#gca559d327ade26b0b01a4b81971425da" title="supports UnitTest().">CS_DBGHELP_UNITTEST</a></li><li><a class="el" href="group__util.html#gb947e222fa11aa06a0939357a6afa288" title="supports Benchmark().">CS_DBGHELP_BENCHMARK</a></li><li><a class="el" href="group__util.html#g8d1ef1bb1e14f29cfeea992cbcdbc476" title="supports non graphical Dump().">CS_DBGHELP_TXTDUMP</a></li><li><a class="el" href="group__util.html#ga37681913a5cf1a42c4d0fcda4854907" title="supports graphical Dump().">CS_DBGHELP_GFXDUMP</a></li><li><a class="el" href="group__util.html#g1b51643f1313d00e27898aa64c57b9d1" title="supports StateTest().">CS_DBGHELP_STATETEST</a> </li></ul>

<p>Implements <a class="el" href="structiDebugHelper.html#b1be8b6d44cbc36aa342283a879090a2">iDebugHelper</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00449">449</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="3643ee0bced27258452706c31db6bafb"></a><!-- doxytag: member="csGraphics2D::GetWidth" ref="3643ee0bced27258452706c31db6bafb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int csGraphics2D::GetWidth           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the width of the framebuffer. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#098d872db308fcaa0e90c67ff26b85de">iGraphics2D</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00318">318</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="f34849ba08f71796a72e77f36a6732b2"></a><!-- doxytag: member="csGraphics2D::HandleEvent" ref="f34849ba08f71796a72e77f36a6732b2" args="(iEvent &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::HandleEvent           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structiEvent.html">iEvent</a> &amp;&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Event handler for plugin. 
<p>

<p>Implements <a class="el" href="structiEventHandler.html#4b3885c2c5dc59fc4ecf32c089f0973a">iEventHandler</a>.</p>

</div>
</div><p>
<a class="anchor" name="30c0c60b890b1fac84dbd167c115ba71"></a><!-- doxytag: member="csGraphics2D::Initialize" ref="30c0c60b890b1fac84dbd167c115ba71" args="(iObjectRegistry *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::Initialize           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structiObjectRegistry.html">iObjectRegistry</a> *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Initialize the plugin. 
<p>

<p>Implements <a class="el" href="structiComponent.html#b11e4707c25689ad1a88491a9ff09bf1">iComponent</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#cf5b237b4760507c1d997c0d66976768">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="a116e2745469a6212cd2a27362bc7f30"></a><!-- doxytag: member="csGraphics2D::Open" ref="a116e2745469a6212cd2a27362bc7f30" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::Open           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
(*) Open graphics system (set videomode, open window etc) 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#dbf60a925a17f7b43298d6d2bf1ff649">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#7f77e08c11ca62cb3ebc71dfee52f247">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="b66282e5a63e5abc650496fd1dd0e4b6"></a><!-- doxytag: member="csGraphics2D::PerformExtension" ref="b66282e5a63e5abc650496fd1dd0e4b6" args="(char const *command,...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::PerformExtension           </td>
          <td>(</td>
          <td class="paramtype">char const *&nbsp;</td>
          <td class="paramname"> <em>command</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&nbsp;</td>
          <td class="paramname"> <em>...</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Perform a system specific extension. 
<p>
Return false if extension not supported. 
<p>Implements <a class="el" href="structiGraphics2D.html#cc9fc5776286ea8444a505e478d3c3e5">iGraphics2D</a>.</p>

</div>
</div><p>
<a class="anchor" name="5bbd9bc43498ccc5566e7c4f3665112e"></a><!-- doxytag: member="csGraphics2D::PerformExtensionV" ref="5bbd9bc43498ccc5566e7c4f3665112e" args="(char const *command, va_list)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::PerformExtensionV           </td>
          <td>(</td>
          <td class="paramtype">char const *&nbsp;</td>
          <td class="paramname"> <em>command</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">va_list&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Perform a system specific extension. 
<p>
Return false if extension not supported. 
<p>Implements <a class="el" href="structiGraphics2D.html#151f96b4f7fc9cbc1404101a755f3569">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#b78a04da3258352e27cfa4f879daf3ca">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="8e1cdf268ca57db67ce4da7904a67ba2"></a><!-- doxytag: member="csGraphics2D::Print" ref="8e1cdf268ca57db67ce4da7904a67ba2" args="(csRect const *=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::Print           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcsRect.html">csRect</a> const *&nbsp;</td>
          <td class="paramname"> = <code>0</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
(*) Flip video pages (or dump backbuffer into framebuffer). 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#b3c704775a395a752e80d56c391f7842">iGraphics2D</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00191">191</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="62b276a262a4d6a2bfe529a835897798"></a><!-- doxytag: member="csGraphics2D::Resize" ref="62b276a262a4d6a2bfe529a835897798" args="(int w, int h)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::Resize           </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 width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Resize the canvas. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#22b0cd2c6781aaeb807f7dd3bc2bd9b0">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#f9efec2e67e1423bfa3d693719ba4aa4">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="a4d292632b05e16497e0a330573428fd"></a><!-- doxytag: member="csGraphics2D::RestoreArea" ref="a4d292632b05e16497e0a330573428fd" args="(csImageArea *Area, bool Free=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::RestoreArea           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcsImageArea.html">csImageArea</a> *&nbsp;</td>
          <td class="paramname"> <em>Area</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>Free</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Restore a subarea of screen saved with <a class="el" href="classcsGraphics2D.html#9e503598301389ec9029591d1b8d8237" title="Save a subarea of screen area into the variable Data.">SaveArea()</a>. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#7eaecf7842b7527bf515f03cb4773959">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#43cc645bf1dc77e7f62e3885d8e011d8">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="9e503598301389ec9029591d1b8d8237"></a><!-- doxytag: member="csGraphics2D::SaveArea" ref="9e503598301389ec9029591d1b8d8237" args="(int x, int y, int w, int h)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structcsImageArea.html">csImageArea</a>* csGraphics2D::SaveArea           </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><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Save a subarea of screen area into the variable Data. 
<p>
Storage is allocated in this call, you should either <a class="el" href="classcsGraphics2D.html#126b7e24b098a908b4a7d448c8be09ed" title="Free storage allocated for a subarea of screen.">FreeArea()</a> it after usage or <a class="el" href="classcsGraphics2D.html#a4d292632b05e16497e0a330573428fd" title="Restore a subarea of screen saved with SaveArea().">RestoreArea()</a> it. 
<p>Implements <a class="el" href="structiGraphics2D.html#fdcb1f0264b4a2b3fb4de931bfdb1498">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#06b9b3b382d5fb0dcad4572483493854">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="1d021d2dc4e6a0359ef2d2076bf83c35"></a><!-- doxytag: member="csGraphics2D::ScreenShot" ref="1d021d2dc4e6a0359ef2d2076bf83c35" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classcsPtr.html">csPtr</a>&lt;<a class="el" href="structiImage.html">iImage</a>&gt; csGraphics2D::ScreenShot           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Do a screenshot: return a new <a class="el" href="structiImage.html" title="The iImage interface is used to work with image objects.">iImage</a> object. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#e513a9eb40766835c8f286a7c80f8ccb">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#293fb50b2add94853c56bf540e045ccd">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="7930aa2556d5d6f8abbef90587430f57"></a><!-- doxytag: member="csGraphics2D::SetClipRect" ref="7930aa2556d5d6f8abbef90587430f57" args="(int xmin, int ymin, int xmax, int ymax)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::SetClipRect           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>xmin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>ymin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>xmax</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>ymax</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set clipping rectangle. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#0e1cdb21f816bf59fb6f8f89e7487149">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#271d5c0ec31dbf7bb1c415eecd98f2a4">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="1c1c50303a28902d42a62f018f85163a"></a><!-- doxytag: member="csGraphics2D::SetFullScreen" ref="1c1c50303a28902d42a62f018f85163a" args="(bool b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::SetFullScreen           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>b</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Change the fullscreen state of the canvas. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#03febf8d32180894b096d21646797a77">iGraphics2D</a>.</p>

</div>
</div><p>
<a class="anchor" name="6746d39f949e7cbdf644ae7156ce942b"></a><!-- doxytag: member="csGraphics2D::SetGamma" ref="6746d39f949e7cbdf644ae7156ce942b" args="(float)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::SetGamma           </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>gamma</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set gamma value (if supported by canvas). 
<p>
By default this is 1. Smaller values are darker. If the canvas doesn't support gamma then this function will return false. 
<p>Implements <a class="el" href="structiGraphics2D.html#05f159c380f21217eb09bbfe69b9e516">iGraphics2D</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00295">295</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="8c997d56caf7ade4ff472dc5312cfc7d"></a><!-- doxytag: member="csGraphics2D::SetMouseCursor" ref="8c997d56caf7ade4ff472dc5312cfc7d" args="(iImage *image, const csRGBcolor *keycolor=0, int hotspot_x=0, int hotspot_y=0, csRGBcolor fg=csRGBcolor(255, 255, 255), csRGBcolor bg=csRGBcolor(0, 0, 0))" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::SetMouseCursor           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structiImage.html">iImage</a> *&nbsp;</td>
          <td class="paramname"> <em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcsRGBcolor.html">csRGBcolor</a> *&nbsp;</td>
          <td class="paramname"> <em>keycolor</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>hotspot_x</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>hotspot_y</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structcsRGBcolor.html">csRGBcolor</a>&nbsp;</td>
          <td class="paramname"> <em>fg</em> = <code><a class="el" href="structcsRGBcolor.html">csRGBcolor</a>(255,&nbsp;255,&nbsp;255)</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structcsRGBcolor.html">csRGBcolor</a>&nbsp;</td>
          <td class="paramname"> <em>bg</em> = <code><a class="el" href="structcsRGBcolor.html">csRGBcolor</a>(0,&nbsp;0,&nbsp;0)</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set mouse cursor using an image. 
<p>
If the operation is unsupported, return 'false' otherwise return 'true'. On some platforms there is only monochrome pointers available. In this all black colors in the image will become the value of 'bg' and all non-black colors will become 'fg' 
<p>Implements <a class="el" href="structiGraphics2D.html#a785b3c9ca0b1477b1a7f85d80a80d41">iGraphics2D</a>.</p>

</div>
</div><p>
<a class="anchor" name="13d15d4f75905dadab035affe56fa892"></a><!-- doxytag: member="csGraphics2D::SetMouseCursor" ref="13d15d4f75905dadab035affe56fa892" args="(csMouseCursorID iShape)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::SetMouseCursor           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gfx2d.html#g80b85f64d5f129faf7a2cd4c2825147e">csMouseCursorID</a>&nbsp;</td>
          <td class="paramname"> <em>iShape</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set mouse cursor to one of predefined shape classes (see csmcXXX enum above). 
<p>
If a specific mouse cursor shape is not supported, return 'false'; otherwise return 'true'. If system supports it and iBitmap != 0, shape should be set to the bitmap passed as second argument; otherwise cursor should be set to its nearest system equivalent depending on iShape argument. 
<p>Implements <a class="el" href="structiGraphics2D.html#5737a954061ed0ec3da31315b66adedf">iGraphics2D</a>.</p>

</div>
</div><p>
<a class="anchor" name="52df41f8798a298b94088009003ae2e3"></a><!-- doxytag: member="csGraphics2D::SetMousePosition" ref="52df41f8798a298b94088009003ae2e3" args="(int x, int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::SetMousePosition           </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><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set mouse cursor position; return success status. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#1a5e95fd5b2ceabb2d60a1446c3e471b">iGraphics2D</a>.</p>

</div>
</div><p>
<a class="anchor" name="68741c009ecdcd9b0dc209881ebfd9d3"></a><!-- doxytag: member="csGraphics2D::SetOption" ref="68741c009ecdcd9b0dc209881ebfd9d3" args="(int id, csVariant *value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csGraphics2D::SetOption           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structcsVariant.html">csVariant</a> *&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set option. 
<p>

<p>Implements <a class="el" href="structiPluginConfig.html#f80fa679ca28a82f3a8e55a51efc26b0">iPluginConfig</a>.</p>

</div>
</div><p>
<a class="anchor" name="7d9b19438982575bab1bc89cf0e6478e"></a><!-- doxytag: member="csGraphics2D::SetRGB" ref="7d9b19438982575bab1bc89cf0e6478e" args="(int i, int r, int g, int b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::SetRGB           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>b</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
(*) Set a color index to given R,G,B (0..255) values 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#902e20c4f1aaaf8f78d6064aa98161b6">iGraphics2D</a>.</p>

<p>Reimplemented in <a class="el" href="classcsGraphics2DGLCommon.html#a8ca4a258508bc41672cbf57ec3e4598">csGraphics2DGLCommon</a>.</p>

</div>
</div><p>
<a class="anchor" name="9e983328cf70fe912f193d5606356a52"></a><!-- doxytag: member="csGraphics2D::SetTitle" ref="9e983328cf70fe912f193d5606356a52" args="(const wchar_t *title)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::SetTitle           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__util.html#g43124e776b499fd41c598b2f6d210242">wchar_t</a> *&nbsp;</td>
          <td class="paramname"> <em>title</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the title for this window. 
<p>

<p>Implements <a class="el" href="structiNativeWindow.html#0b51739a3eb2b512c1fa3fd982750e90">iNativeWindow</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00435">435</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="d7253c856a1d71f426d9417c84966593"></a><!-- doxytag: member="csGraphics2D::SetTitle" ref="d7253c856a1d71f426d9417c84966593" args="(const char *title)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::SetTitle           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>title</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the title for this window. 
<p>
<dl class="remark" compact><dt><b>Remarks:</b></dt><dd><code>title</code> is expected to be UTF-8 encoded. </dd></dl>

<p>Implements <a class="el" href="structiNativeWindow.html#dca3a8eab6088628f51d68e6487f8092">iNativeWindow</a>.</p>

</div>
</div><p>
<a class="anchor" name="ac3ae113d7cd73d18dcfc5129c69e7c8"></a><!-- doxytag: member="csGraphics2D::StateTest" ref="ac3ae113d7cd73d18dcfc5129c69e7c8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classcsPtr.html">csPtr</a>&lt;<a class="el" href="structiString.html">iString</a>&gt; csGraphics2D::StateTest           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Perform a state test. 
<p>
This function will test if the current state of the object is ok. It will return 0 if it is ok. Otherwise an <a class="el" href="structiString.html" title="This is a SCF-compatible interface for csString.">iString</a> is returned containing some information about the errors. <a class="el" href="classscfImplementation.html#9b996efbd8891c74a46f2c6705b56f89" title="Decrement the reference count.">DecRef()</a> this returned string after using it. 
<p>Implements <a class="el" href="structiDebugHelper.html#39f26006470eca6787836a607142c7d5">iDebugHelper</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00451">451</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="208fd0a334afeead0b0d0eacc82cf3e7"></a><!-- doxytag: member="csGraphics2D::UnitTest" ref="208fd0a334afeead0b0d0eacc82cf3e7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classcsPtr.html">csPtr</a>&lt;<a class="el" href="structiString.html">iString</a>&gt; csGraphics2D::UnitTest           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Perform a unit test. 
<p>
This function will try to test as much as possible of the given module. This function returns 0 if the test succeeded. Otherwise an <a class="el" href="structiString.html" title="This is a SCF-compatible interface for csString.">iString</a> is returned containing some information about the errors. <a class="el" href="classscfImplementation.html#9b996efbd8891c74a46f2c6705b56f89" title="Decrement the reference count.">DecRef()</a> this returned string after using it. 
<p>Implements <a class="el" href="structiDebugHelper.html#aac65ad9e321a6edba9843f8bfd51702">iDebugHelper</a>.</p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00450">450</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="4c6ddd693dfe94999ce39ac8ec4f3556"></a><!-- doxytag: member="csGraphics2D::Write" ref="4c6ddd693dfe94999ce39ac8ec4f3556" args="(iFont *font, int x, int y, int fg, int bg, const wchar_t *text, uint flags=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::Write           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structiFont.html">iFont</a> *&nbsp;</td>
          <td class="paramname"> <em>font</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>fg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>bg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__util.html#g43124e776b499fd41c598b2f6d210242">wchar_t</a> *&nbsp;</td>
          <td class="paramname"> <em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&nbsp;</td>
          <td class="paramname"> <em>flags</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Write a text string into the back buffer. 
<p>
A value of -1 for <code>bg</code> color will not draw the background. <dl class="remark" compact><dt><b>Remarks:</b></dt><dd>For transparent backgrounds, it is recommended to obtain a color value from <a class="el" href="classcsGraphics2D.html#8ec4bfdefe11b76c144bc5ddbe7601d8" title="Find an RGB (0.">FindRGB()</a> that has the same R, G, B components as the foreground color, but an alpha component of 0. </dd></dl>

<p>Implements <a class="el" href="structiGraphics2D.html#d823619633687d78de4917f66efb96a5">iGraphics2D</a>.</p>

</div>
</div><p>
<a class="anchor" name="448ceebeaf886118f364e1f6150de7de"></a><!-- doxytag: member="csGraphics2D::Write" ref="448ceebeaf886118f364e1f6150de7de" args="(iFont *font, int x, int y, int fg, int bg, const char *text, uint flags=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csGraphics2D::Write           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structiFont.html">iFont</a> *&nbsp;</td>
          <td class="paramname"> <em>font</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>fg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>bg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&nbsp;</td>
          <td class="paramname"> <em>flags</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Write a text string into the back buffer. 
<p>

<p>Implements <a class="el" href="structiGraphics2D.html#7d50f77432f14ba009fac56f673c0023">iGraphics2D</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="91a2f77ca34221ba96a02cfa14176596"></a><!-- doxytag: member="csGraphics2D::_DrawPixel" ref="91a2f77ca34221ba96a02cfa14176596" args=")(csGraphics2D *This, int x, int y, int color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* <a class="el" href="classcsGraphics2D.html#91a2f77ca34221ba96a02cfa14176596">csGraphics2D::_DrawPixel</a>)(<a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *This, int x, int y, int color)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
To facilitate multiple pixel formats, the most critical drawing routines are defined as pointers to functions, not as virtual methods. 
<p>
This allows deciding at run-time which function we will choose. Draw a pixel 
</div>
</div><p>
<a class="anchor" name="7e1b4b3b4c5a1b86e070653fd926e9e3"></a><!-- doxytag: member="csGraphics2D::_GetPixelAt" ref="7e1b4b3b4c5a1b86e070653fd926e9e3" args=")(csGraphics2D *This, int x, int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char*(* <a class="el" href="classcsGraphics2D.html#7e1b4b3b4c5a1b86e070653fd926e9e3">csGraphics2D::_GetPixelAt</a>)(<a class="el" href="classcsGraphics2D.html">csGraphics2D</a> *This, int x, int y)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
(*) Get address of video RAM at given x,y coordinates 
<p>

</div>
</div><p>
<a class="anchor" name="f5191f7fc3e7a5a122e45faacb674ead"></a><!-- doxytag: member="csGraphics2D::AllowResizing" ref="f5191f7fc3e7a5a122e45faacb674ead" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classcsGraphics2D.html#f5191f7fc3e7a5a122e45faacb674ead">csGraphics2D::AllowResizing</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Whether to allow resizing. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00120">120</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="41e24cdd5c81af9429d80ee3faf4202c"></a><!-- doxytag: member="csGraphics2D::ClipX1" ref="41e24cdd5c81af9429d80ee3faf4202c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classcsGraphics2D.html#41e24cdd5c81af9429d80ee3faf4202c">csGraphics2D::ClipX1</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The clipping rectangle. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00072">72</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="faca9df02ced27bb827dcf74c5ea313c"></a><!-- doxytag: member="csGraphics2D::config" ref="faca9df02ced27bb827dcf74c5ea313c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcsConfigAccess.html">csConfigAccess</a> <a class="el" href="classcsGraphics2D.html#faca9df02ced27bb827dcf74c5ea313c">csGraphics2D::config</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The configuration file. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00069">69</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="6b5ec9c6fa8e4ce6f9854ebd0074fd15"></a><!-- doxytag: member="csGraphics2D::DisplayNumber" ref="6b5ec9c6fa8e4ce6f9854ebd0074fd15" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classcsGraphics2D.html#6b5ec9c6fa8e4ce6f9854ebd0074fd15">csGraphics2D::DisplayNumber</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Display number. 
<p>
If 0, use primary display; else if greater than 0, use that display number. If that display number is not present, use primary display. 
<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00116">116</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="7d769ec8772766603e52f27e1bf85912"></a><!-- doxytag: member="csGraphics2D::fontCache" ref="7d769ec8772766603e52f27e1bf85912" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcsFontCache.html">csFontCache</a>* <a class="el" href="classcsGraphics2D.html#7d769ec8772766603e52f27e1bf85912">csGraphics2D::fontCache</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The font cache. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00100">100</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="a1f6a0bc8182cb03e3d07a1ab65514f6"></a><!-- doxytag: member="csGraphics2D::FontServer" ref="a1f6a0bc8182cb03e3d07a1ab65514f6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcsWeakRef.html">csWeakRef</a>&lt;<a class="el" href="structiFontServer.html">iFontServer</a>&gt; <a class="el" href="classcsGraphics2D.html#a1f6a0bc8182cb03e3d07a1ab65514f6">csGraphics2D::FontServer</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The font server. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00098">98</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="dbbaecc2d7f5a768b0ee3653adb70901"></a><!-- doxytag: member="csGraphics2D::FrameBufferLocked" ref="dbbaecc2d7f5a768b0ee3653adb70901" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classcsGraphics2D.html#dbbaecc2d7f5a768b0ee3653adb70901">csGraphics2D::FrameBufferLocked</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The counter that is incremented inside BeginDraw and decremented in <a class="el" href="classcsGraphics2D.html#e3b8015b220e90fa77acb1cc60a028a8" title="This routine should be called when you finished drawing.">FinishDraw()</a>. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00129">129</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="ca1aa44bfb960122123cbc6de9a16e4f"></a><!-- doxytag: member="csGraphics2D::FullScreen" ref="ca1aa44bfb960122123cbc6de9a16e4f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classcsGraphics2D.html#ca1aa44bfb960122123cbc6de9a16e4f">csGraphics2D::FullScreen</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
True if visual is full-screen. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00118">118</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="348793a4686b8dc06bc95a2ec2895350"></a><!-- doxytag: member="csGraphics2D::is_open" ref="348793a4686b8dc06bc95a2ec2895350" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classcsGraphics2D.html#348793a4686b8dc06bc95a2ec2895350">csGraphics2D::is_open</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Open/Close state. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00081">81</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="41d3232fafa8efbd56996987c1e0ce49"></a><!-- doxytag: member="csGraphics2D::LineAddress" ref="41d3232fafa8efbd56996987c1e0ce49" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int* <a class="el" href="classcsGraphics2D.html#41d3232fafa8efbd56996987c1e0ce49">csGraphics2D::LineAddress</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Keep a array of Y*width to avoid multiplications. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00084">84</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

<p>Referenced by <a class="el" href="draw__line_8h-source.html#l00040">csG2DDrawLine&lt; Tpixel, Tpixmixer &gt;::DrawLine()</a>.</p>

</div>
</div><p>
<a class="anchor" name="72b28efa5935d7b11ad2715e646d93cf"></a><!-- doxytag: member="csGraphics2D::Memory" ref="72b28efa5935d7b11ad2715e646d93cf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char* <a class="el" href="classcsGraphics2D.html#72b28efa5935d7b11ad2715e646d93cf">csGraphics2D::Memory</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Most systems have a pointer to (real or pseudo) video RAM. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00078">78</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

<p>Referenced by <a class="el" href="draw__line_8h-source.html#l00040">csG2DDrawLine&lt; Tpixel, Tpixmixer &gt;::DrawLine()</a>.</p>

</div>
</div><p>
<a class="anchor" name="56bf86b9ef2776eaab05ccfaab4da55e"></a><!-- doxytag: member="csGraphics2D::object_reg" ref="56bf86b9ef2776eaab05ccfaab4da55e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structiObjectRegistry.html">iObjectRegistry</a>* <a class="el" href="classcsGraphics2D.html#56bf86b9ef2776eaab05ccfaab4da55e">csGraphics2D::object_reg</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The object registry. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00087">87</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="f9b4982829efab8626e850908b60f537"></a><!-- doxytag: member="csGraphics2D::ofscb" ref="f9b4982829efab8626e850908b60f537" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcsRef.html">csRef</a>&lt;<a class="el" href="structiOffscreenCanvasCallback.html">iOffscreenCanvasCallback</a>&gt; <a class="el" href="classcsGraphics2D.html#f9b4982829efab8626e850908b60f537">csGraphics2D::ofscb</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Callback to use for informing an external agent when several canvas operations have occured. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00095">95</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="d0d0e90d9dc680fcccb5cc1dc38cd8b2"></a><!-- doxytag: member="csGraphics2D::Palette" ref="d0d0e90d9dc680fcccb5cc1dc38cd8b2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcsRGBpixel.html">csRGBpixel</a>* <a class="el" href="classcsGraphics2D.html#d0d0e90d9dc680fcccb5cc1dc38cd8b2">csGraphics2D::Palette</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
256-color palette. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00122">122</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="5e52762f38e5e0fd2a5e5cde5a8496f8"></a><!-- doxytag: member="csGraphics2D::PaletteAlloc" ref="5e52762f38e5e0fd2a5e5cde5a8496f8" args="[256]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classcsGraphics2D.html#5e52762f38e5e0fd2a5e5cde5a8496f8">csGraphics2D::PaletteAlloc</a>[256]          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
true if some palette entry is already allocated. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00124">124</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="118dd580babe3a8416c1e7b89f6dfdfe"></a><!-- doxytag: member="csGraphics2D::pfmt" ref="118dd580babe3a8416c1e7b89f6dfdfe" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcsPixelFormat.html">csPixelFormat</a> <a class="el" href="classcsGraphics2D.html#118dd580babe3a8416c1e7b89f6dfdfe">csGraphics2D::pfmt</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The pixel format. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00075">75</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

<p>Referenced by <a class="el" href="draw__common_8h-source.html#l00067">csPixMixerRGBA&lt; Tpixel &gt;::csPixMixerRGBA()</a>.</p>

</div>
</div><p>
<a class="anchor" name="378c626c4b138f638fed4e20d192bd50"></a><!-- doxytag: member="csGraphics2D::plugin_mgr" ref="378c626c4b138f638fed4e20d192bd50" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcsWeakRef.html">csWeakRef</a>&lt;<a class="el" href="structiPluginManager.html">iPluginManager</a>&gt; <a class="el" href="classcsGraphics2D.html#378c626c4b138f638fed4e20d192bd50">csGraphics2D::plugin_mgr</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The plugin manager. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00089">89</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="721f04ae382fa7955813bf7a4ab73de9"></a><!-- doxytag: member="csGraphics2D::refreshRate" ref="721f04ae382fa7955813bf7a4ab73de9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classcsGraphics2D.html#721f04ae382fa7955813bf7a4ab73de9">csGraphics2D::refreshRate</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Screen refresh rate. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00141">141</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="690bd6cf3a5e0a5b4e801a5f4095510f"></a><!-- doxytag: member="csGraphics2D::vsync" ref="690bd6cf3a5e0a5b4e801a5f4095510f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classcsGraphics2D.html#690bd6cf3a5e0a5b4e801a5f4095510f">csGraphics2D::vsync</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Activate Vsync. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00143">143</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="3c2135de59a14b5f01387356663ecfe2"></a><!-- doxytag: member="csGraphics2D::Width" ref="3c2135de59a14b5f01387356663ecfe2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classcsGraphics2D.html#3c2135de59a14b5f01387356663ecfe2">csGraphics2D::Width</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The width, height and depth of visual. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00106">106</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="6dfd1706739e4de30fc6a2698514e907"></a><!-- doxytag: member="csGraphics2D::win_title" ref="6dfd1706739e4de30fc6a2698514e907" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcsString.html">csString</a> <a class="el" href="classcsGraphics2D.html#6dfd1706739e4de30fc6a2698514e907">csGraphics2D::win_title</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Pointer to a title. 
<p>

<p>Definition at line <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html#l00103">103</a> of file <a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>csplugincommon/canvas/<a class="el" href="csplugincommon_2canvas_2graph2d_8h-source.html">graph2d.h</a></ul>
<hr size="1"><address><small>Generated for Crystal Space 1.2.1 by 
<a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 
</small></address> </div></body> </html>