164 lines
9.1 KiB
HTML
164 lines
9.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
<title>esvg Library</title>
|
|
<link rel="stylesheet" href="base.css">
|
|
</head>
|
|
<body>
|
|
<div class="navbar navbar-fixed-top">
|
|
<div class="container">
|
|
<h1>esvg Library</h1>
|
|
<li>esvg</li>
|
|
<ul>
|
|
<li><a href="esvg__Base.html">Base</a></li>
|
|
<li><a href="esvg__Circle.html">Circle</a></li>
|
|
<li><a href="esvg__Document.html">Document</a></li>
|
|
<li><a href="esvg__Ellipse.html">Ellipse</a></li>
|
|
<li><a href="esvg__Group.html">Group</a></li>
|
|
<li><a href="esvg__Line.html">Line</a></li>
|
|
<li><a href="esvg__PaintState.html">PaintState</a></li>
|
|
<li><a href="esvg__Path.html">Path</a></li>
|
|
<li><a href="esvg__PathBasic.html">PathBasic</a></li>
|
|
<li><a href="esvg__Polygon.html">Polygon</a></li>
|
|
<li><a href="esvg__Polyline.html">Polyline</a></li>
|
|
<li><a href="esvg__Rectangle.html">Rectangle</a></li>
|
|
<li><a href="esvg__Renderer.html">Renderer</a></li>
|
|
<li><a href="esvg__Text.html">Text</a></li>
|
|
</ul>
|
|
<li><a href="esvg__lineCap.html">lineCap</a></li>
|
|
<li><a href="esvg__lineJoin.html">lineJoin</a></li>
|
|
<li><a href="esvg__pathProperty.html">pathProperty</a></li>
|
|
<li><a href="esvg__polygonMode.html">polygonMode</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="container" id="content">
|
|
<h1>Class: esvg::Base</h1>
|
|
<br/>
|
|
<h2>Synopsis:</h2>
|
|
<pre>
|
|
+ <a class="code-function" href="#Base">Base</a> (<span class="code-type">void</span>);<br>+ <a class="code-function" href="#Base">Base</a> (Pa<span class="code-type">int</span>State <span class="code-argument">_parentPaintState</span>);<br>+ ~<a class="code-function" href="#Base">Base</a> (<span class="code-type">void</span>);<br>+ <span class="code-type">bool</span> <a class="code-function" href="#parse">parse</a> (<a href="http://HeeroYui.github.io/exml//exml__Element.html" class="code-type">exml::Element</a> * <span class="code-argument">_element</span>,<br/> agg::trans_affine & <span class="code-argument">_parentTrans</span>,<br/> etk::Vector2D<<span class="code-type">float</span>> & <span class="code-argument">_sizeMax</span>);<br>+ <span class="code-type">void</span> <a class="code-function" href="#aggDraw">aggDraw</a> (<a href="esvg__Renderer.html" class="code-type">esvg::Renderer</a> & <span class="code-argument">_myRenderer</span>,<br/> agg::trans_affine & <span class="code-argument">_basicTrans</span>);<br>+ <span class="code-type">void</span> <a class="code-function" href="#display">display</a> (<span class="code-type">int32_t</span> <span class="code-argument">_spacing</span>);<br>+ <span class="code-type">void</span> <a class="code-function" href="#parseTransform">parseTransform</a> (<a href="http://HeeroYui.github.io/exml//exml__Element.html" class="code-type">exml::Element</a> * <span class="code-argument">_element</span>);<br>+ <span class="code-type">void</span> <a class="code-function" href="#parsePosition">parsePosition</a> (<span class="code-storage-keyword">const</span> <a href="http://HeeroYui.github.io/exml//exml__Element.html" class="code-type">exml::Element</a> * <span class="code-argument">_element</span>,<br/> etk::Vector2D<<span class="code-type">float</span>> & <span class="code-argument">_pos</span>,<br/> etk::Vector2D<<span class="code-type">float</span>> & <span class="code-argument">_size</span>);<br>+ <span class="code-type">float</span> <a class="code-function" href="#parseLength">parseLength</a> (<span class="code-storage-keyword">const</span> <a href="http://www.cplusplus.com/reference/string/string/" class="code-type">std::string</a> & <span class="code-argument">_dataInput</span>);<br>+ <span class="code-type">void</span> <a class="code-function" href="#parsePaintAttr">parsePaintAttr</a> (<span class="code-storage-keyword">const</span> <a href="http://HeeroYui.github.io/exml//exml__Element.html" class="code-type">exml::Element</a> * <span class="code-argument">_element</span>);<br>+ draw::Color <a class="code-function" href="#parseColor">parseColor</a> (<span class="code-storage-keyword">const</span> <a href="http://www.cplusplus.com/reference/string/string/" class="code-type">std::string</a> & <span class="code-argument">_inputData</span>);<br># <span class="code-storage-keyword">const</span> <span class="code-type">char</span> * <a class="code-function" href="#spacingDist">spacingDist</a> (<span class="code-type">int32_t</span> <span class="code-argument">_spacing</span>);<br></pre>
|
|
|
|
|
|
<h2>Object Hierarchy:</h2>
|
|
<pre>
|
|
<b>esvg::Base</b>
|
|
+--> <a href="esvg__Path.html">esvg::Path</a>
|
|
+--> <a href="esvg__Text.html">esvg::Text</a>
|
|
+--> <a href="esvg__Polygon.html">esvg::Polygon</a>
|
|
+--> <a href="esvg__Circle.html">esvg::Circle</a>
|
|
+--> <a href="esvg__Rectangle.html">esvg::Rectangle</a>
|
|
+--> <a href="esvg__Ellipse.html">esvg::Ellipse</a>
|
|
+--> <a href="esvg__Line.html">esvg::Line</a>
|
|
+--> <a href="esvg__Group.html">esvg::Group</a>
|
|
+--> <a href="esvg__Document.html">esvg::Document</a>
|
|
+--> <a href="esvg__Polyline.html">esvg::Polyline</a>
|
|
</pre>
|
|
<br/>
|
|
<h2>Detail:<h2>
|
|
<h3>esvg::<a id="Base">Base</a> ()</h3>
|
|
|
|
<pre>
|
|
<span class="code-function">Base</span>(<span class="code-type">void</span>);</pre>
|
|
<br/>
|
|
<br/>
|
|
|
|
<hr/>
|
|
<h3>esvg::<a id="Base">Base</a> ()</h3>
|
|
|
|
<pre>
|
|
<span class="code-function">Base</span>(Pa<span class="code-type">int</span>State <span class="code-argument">_parentPaintState</span>);</pre>
|
|
<br/>
|
|
<br/>
|
|
|
|
<hr/>
|
|
<h3>esvg::~<a id="Base">Base</a> ()</h3>
|
|
|
|
<pre>
|
|
~<span class="code-function">Base</span>(<span class="code-type">void</span>);</pre>
|
|
<br/>
|
|
<br/>
|
|
|
|
<hr/>
|
|
<h3><a id="parse">parse</a> ()</h3>
|
|
|
|
<pre>
|
|
<span class="code-type">bool</span> <span class="code-function">parse</span>(<a href="http://HeeroYui.github.io/exml//exml__Element.html" class="code-type">exml::Element</a> * <span class="code-argument">_element</span>,
|
|
agg::trans_affine & <span class="code-argument">_parentTrans</span>,
|
|
etk::Vector2D<<span class="code-type">float</span>> & <span class="code-argument">_sizeMax</span>);</pre>
|
|
<br/>
|
|
<br/>
|
|
|
|
<hr/>
|
|
<h3><a id="aggDraw">aggDraw</a> ()</h3>
|
|
|
|
<pre>
|
|
<span class="code-type">void</span> <span class="code-function">aggDraw</span>(<a href="esvg__Renderer.html" class="code-type">esvg::Renderer</a> & <span class="code-argument">_myRenderer</span>,
|
|
agg::trans_affine & <span class="code-argument">_basicTrans</span>);</pre>
|
|
<br/>
|
|
<br/>
|
|
|
|
<hr/>
|
|
<h3><a id="display">display</a> ()</h3>
|
|
|
|
<pre>
|
|
<span class="code-type">void</span> <span class="code-function">display</span>(<span class="code-type">int32_t</span> <span class="code-argument">_spacing</span>);</pre>
|
|
<br/>
|
|
<br/>
|
|
|
|
<hr/>
|
|
<h3><a id="parseTransform">parseTransform</a> ()</h3>
|
|
|
|
<pre>
|
|
<span class="code-type">void</span> <span class="code-function">parseTransform</span>(<a href="http://HeeroYui.github.io/exml//exml__Element.html" class="code-type">exml::Element</a> * <span class="code-argument">_element</span>);</pre>
|
|
<br/>
|
|
<br/>
|
|
|
|
<hr/>
|
|
<h3><a id="parsePosition">parsePosition</a> ()</h3>
|
|
|
|
<pre>
|
|
<span class="code-type">void</span> <span class="code-function">parsePosition</span>(<span class="code-storage-keyword">const</span> <a href="http://HeeroYui.github.io/exml//exml__Element.html" class="code-type">exml::Element</a> * <span class="code-argument">_element</span>,
|
|
etk::Vector2D<<span class="code-type">float</span>> & <span class="code-argument">_pos</span>,
|
|
etk::Vector2D<<span class="code-type">float</span>> & <span class="code-argument">_size</span>);</pre>
|
|
<br/>
|
|
<br/>
|
|
|
|
<hr/>
|
|
<h3><a id="parseLength">parseLength</a> ()</h3>
|
|
|
|
<pre>
|
|
<span class="code-type">float</span> <span class="code-function">parseLength</span>(<span class="code-storage-keyword">const</span> <a href="http://www.cplusplus.com/reference/string/string/" class="code-type">std::string</a> & <span class="code-argument">_dataInput</span>);</pre>
|
|
<br/>
|
|
<br/>
|
|
|
|
<hr/>
|
|
<h3><a id="parsePaintAttr">parsePaintAttr</a> ()</h3>
|
|
|
|
<pre>
|
|
<span class="code-type">void</span> <span class="code-function">parsePaintAttr</span>(<span class="code-storage-keyword">const</span> <a href="http://HeeroYui.github.io/exml//exml__Element.html" class="code-type">exml::Element</a> * <span class="code-argument">_element</span>);</pre>
|
|
<br/>
|
|
<br/>
|
|
|
|
<hr/>
|
|
<h3><a id="parseColor">parseColor</a> ()</h3>
|
|
|
|
<pre>
|
|
draw::Color <span class="code-function">parseColor</span>(<span class="code-storage-keyword">const</span> <a href="http://www.cplusplus.com/reference/string/string/" class="code-type">std::string</a> & <span class="code-argument">_inputData</span>);</pre>
|
|
<br/>
|
|
<br/>
|
|
|
|
<hr/>
|
|
<h3><a id="spacingDist">spacingDist</a> ()</h3>
|
|
|
|
<pre>
|
|
<span class="code-storage-keyword">const</span> <span class="code-type">char</span> * <span class="code-function">spacingDist</span>(<span class="code-type">int32_t</span> <span class="code-argument">_spacing</span>);</pre>
|
|
<br/>
|
|
<br/>
|
|
|
|
<hr/>
|
|
</div>
|
|
</body>
|
|
</html>
|