-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblend_8h_source.html
89 lines (89 loc) · 15.4 KB
/
blend_8h_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Aspose.Page for C++: include/asposecpplib/drawing/drawing2d/blend.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Aspose.Page for C++
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('blend_8h_source.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="headertitle">
<div class="title">blend.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include "system/array.h"</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="keyword">namespace </span><a class="code" href="namespace_system.html">System</a> {<span class="keyword">namespace </span>Drawing { <span class="keyword">namespace </span>Drawing2D {</div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html"> 12</a></span> <span class="keyword">class </span>ASPOSECPP_SHARED_CLASS <a class="code" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html">Blend</a> : <span class="keyword">public</span> <a class="code" href="class_system_1_1_object.html">Object</a></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> {</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a855d0e2b12507543f283abdc2943f2cb"> 16</a></span>  <a class="code" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a855d0e2b12507543f283abdc2943f2cb">Blend</a>()</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  m_factors = MakeObject< Array<float> >(1, .0f);</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  m_positions = MakeObject< Array<float> >(1, .0f);</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  }</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a2a2a0ec85e22cea43342aba8596fb1e4"> 24</a></span>  <a class="code" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a2a2a0ec85e22cea43342aba8596fb1e4">Blend</a>(<span class="keywordtype">int</span> count)</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  m_factors = MakeObject< Array<float> >(count, .0f);</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  m_positions = MakeObject< Array<float> >(count, .0f);</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  }</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a8167d8301b3cc0e66acf9d1069e4eb83"> 31</a></span>  <a class="code" href="class_system_1_1_smart_ptr.html">ArrayPtr<float></a> <a class="code" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a8167d8301b3cc0e66acf9d1069e4eb83">get_Factors</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordflow">return</span> m_factors;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  }</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a634c7114ffa304ce830503084fb0ab07"> 38</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a634c7114ffa304ce830503084fb0ab07">set_Factors</a>(<span class="keyword">const</span> <a class="code" href="class_system_1_1_smart_ptr.html">ArrayPtr<float></a>& value)</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  {</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  m_factors = value;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  }</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#ab2322d2573561bb0ced6275ccf55ed69"> 44</a></span>  <a class="code" href="class_system_1_1_smart_ptr.html">ArrayPtr<float></a> <a class="code" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#ab2322d2573561bb0ced6275ccf55ed69">get_Positions</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordflow">return</span> m_positions;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  }</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a9d1818218c3e1782f8e102b1530d7088"> 51</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a9d1818218c3e1782f8e102b1530d7088">set_Positions</a>(<span class="keyword">const</span> <a class="code" href="class_system_1_1_smart_ptr.html">ArrayPtr<float></a>& value)</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  m_positions = value;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  }</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#aa4de0d3c2d7ae4e9c9910b277663ed3d"> 58</a></span>  <a class="code" href="class_system_1_1_smart_ptr.html">ArrayPtr<float></a> <a class="code" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#aa4de0d3c2d7ae4e9c9910b277663ed3d">m_factors</a>;</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a4ceeb3cb96b0ae6829cfc0106fd04d34"> 60</a></span>  <a class="code" href="class_system_1_1_smart_ptr.html">ArrayPtr<float></a> <a class="code" href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a4ceeb3cb96b0ae6829cfc0106fd04d34">m_positions</a>;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> };</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> }}}</div><div class="ttc" id="class_system_1_1_object_html"><div class="ttname"><a href="class_system_1_1_object.html">System::Object</a></div><div class="ttdoc">Base class that enables using methods available for System.Object class in C#. All non-trivial classe...</div><div class="ttdef"><b>Definition:</b> object.h:64</div></div>
<div class="ttc" id="namespace_system_html"><div class="ttname"><a href="namespace_system.html">System</a></div><div class="ttdef"><b>Definition:</b> Device.h:86</div></div>
<div class="ttc" id="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend_html_a4ceeb3cb96b0ae6829cfc0106fd04d34"><div class="ttname"><a href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a4ceeb3cb96b0ae6829cfc0106fd04d34">System::Drawing::Drawing2D::Blend::m_positions</a></div><div class="ttdeci">ArrayPtr< float > m_positions</div><div class="ttdoc">Blend positions of the gradient. </div><div class="ttdef"><b>Definition:</b> blend.h:60</div></div>
<div class="ttc" id="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend_html_aa4de0d3c2d7ae4e9c9910b277663ed3d"><div class="ttname"><a href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#aa4de0d3c2d7ae4e9c9910b277663ed3d">System::Drawing::Drawing2D::Blend::m_factors</a></div><div class="ttdeci">ArrayPtr< float > m_factors</div><div class="ttdoc">Blend factors of the gradient. </div><div class="ttdef"><b>Definition:</b> blend.h:58</div></div>
<div class="ttc" id="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend_html_a2a2a0ec85e22cea43342aba8596fb1e4"><div class="ttname"><a href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a2a2a0ec85e22cea43342aba8596fb1e4">System::Drawing::Drawing2D::Blend::Blend</a></div><div class="ttdeci">Blend(int count)</div><div class="ttdef"><b>Definition:</b> blend.h:24</div></div>
<div class="ttc" id="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend_html_a634c7114ffa304ce830503084fb0ab07"><div class="ttname"><a href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a634c7114ffa304ce830503084fb0ab07">System::Drawing::Drawing2D::Blend::set_Factors</a></div><div class="ttdeci">void set_Factors(const ArrayPtr< float > &value)</div><div class="ttdef"><b>Definition:</b> blend.h:38</div></div>
<div class="ttc" id="class_system_1_1_smart_ptr_html"><div class="ttname"><a href="class_system_1_1_smart_ptr.html">System::SmartPtr</a></div><div class="ttdoc">Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...</div><div class="ttdef"><b>Definition:</b> fwd.h:22</div></div>
<div class="ttc" id="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend_html"><div class="ttname"><a href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html">System::Drawing::Drawing2D::Blend</a></div><div class="ttdef"><b>Definition:</b> blend.h:12</div></div>
<div class="ttc" id="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend_html_a8167d8301b3cc0e66acf9d1069e4eb83"><div class="ttname"><a href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a8167d8301b3cc0e66acf9d1069e4eb83">System::Drawing::Drawing2D::Blend::get_Factors</a></div><div class="ttdeci">ArrayPtr< float > get_Factors() const</div><div class="ttdoc">Returns the array of blend factors of the gradient. </div><div class="ttdef"><b>Definition:</b> blend.h:31</div></div>
<div class="ttc" id="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend_html_a9d1818218c3e1782f8e102b1530d7088"><div class="ttname"><a href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a9d1818218c3e1782f8e102b1530d7088">System::Drawing::Drawing2D::Blend::set_Positions</a></div><div class="ttdeci">void set_Positions(const ArrayPtr< float > &value)</div><div class="ttdef"><b>Definition:</b> blend.h:51</div></div>
<div class="ttc" id="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend_html_a855d0e2b12507543f283abdc2943f2cb"><div class="ttname"><a href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#a855d0e2b12507543f283abdc2943f2cb">System::Drawing::Drawing2D::Blend::Blend</a></div><div class="ttdeci">Blend()</div><div class="ttdoc">Constructs a new instance of Blend class. </div><div class="ttdef"><b>Definition:</b> blend.h:16</div></div>
<div class="ttc" id="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend_html_ab2322d2573561bb0ced6275ccf55ed69"><div class="ttname"><a href="class_system_1_1_drawing_1_1_drawing2_d_1_1_blend.html#ab2322d2573561bb0ced6275ccf55ed69">System::Drawing::Drawing2D::Blend::get_Positions</a></div><div class="ttdeci">ArrayPtr< float > get_Positions() const</div><div class="ttdoc">Returns the array of blend positions of the gradient. </div><div class="ttdef"><b>Definition:</b> blend.h:44</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5016bbee7090a7ea107ac349e6851b58.html">asposecpplib</a></li><li class="navelem"><a class="el" href="dir_25dffb929d2351b653762698965b8a00.html">drawing</a></li><li class="navelem"><a class="el" href="dir_4632fd34964072e363b8c60fb5f8c8d4.html">drawing2d</a></li><li class="navelem"><b>blend.h</b></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
</div>
</body>
</html>