aboutsummaryrefslogtreecommitdiffstats
path: root/sgl_doxygen/html/SkPathEffect_8h-source.html
blob: 4e829827fa7c2336ffca98b7b28fd2e8fda4e437 (plain)
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
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>SGL: SkPathEffect.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.0 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">include</a>&nbsp;/&nbsp;<a class="el" href="dir_000001.html">skia</a></div>
<h1>SkPathEffect.h</h1><div class="fragment"><pre class="fragment">00001 <span class="preprocessor">#ifndef SkPathEffect_DEFINED</span>
00002 <span class="preprocessor"></span><span class="preprocessor">#define SkPathEffect_DEFINED</span>
00003 <span class="preprocessor"></span>
00004 <span class="preprocessor">#include "SkFlattenable.h"</span>
00005 
00006 <span class="keyword">class </span><a class="code" href="classSkPath.html">SkPath</a>;
00007 
<a name="l00016"></a><a class="code" href="classSkPathEffect.html">00016</a> <span class="keyword">class </span><a class="code" href="classSkPathEffect.html">SkPathEffect</a> : <span class="keyword">public</span> <a class="code" href="classSkFlattenable.html">SkFlattenable</a> {
00017 <span class="keyword">public</span>:
00018         <a class="code" href="classSkPathEffect.html">SkPathEffect</a>() {}
00019 
00026         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classSkPathEffect.html#a1">filterPath</a>(<a class="code" href="classSkPath.html">SkPath</a>* dst, <span class="keyword">const</span> <a class="code" href="classSkPath.html">SkPath</a>&amp; src, SkScalar* width);
00030         <span class="keyword">virtual</span> Factory <a class="code" href="classSkPathEffect.html#a2">getFactory</a>();
00031 
00032 <span class="keyword">protected</span>:
00033         <span class="comment">// visible to our subclasses</span>
00034         <a class="code" href="classSkPathEffect.html">SkPathEffect</a>(<span class="keyword">const</span> <span class="keywordtype">void</span>* buffer) {}
00035 
00036 <span class="keyword">private</span>:
00037         <span class="comment">// illegal</span>
00038         <a class="code" href="classSkPathEffect.html">SkPathEffect</a>(<span class="keyword">const</span> <a class="code" href="classSkPathEffect.html">SkPathEffect</a>&amp;);
00039         <a class="code" href="classSkPathEffect.html">SkPathEffect</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classSkPathEffect.html">SkPathEffect</a>&amp;);
00040 };
00041 
<a name="l00048"></a><a class="code" href="classSkPairPathEffect.html">00048</a> <span class="keyword">class </span><a class="code" href="classSkPairPathEffect.html">SkPairPathEffect</a> : <span class="keyword">public</span> <a class="code" href="classSkPathEffect.html">SkPathEffect</a> {
00049 <span class="keyword">public</span>:
00050         <a class="code" href="classSkPairPathEffect.html">SkPairPathEffect</a>(<a class="code" href="classSkPathEffect.html">SkPathEffect</a>* pe0, <a class="code" href="classSkPathEffect.html">SkPathEffect</a>* pe1);
00051         <span class="keyword">virtual</span> ~<a class="code" href="classSkPairPathEffect.html">SkPairPathEffect</a>();
00052 
00053         <span class="comment">// overrides</span>
00054         <span class="keyword">virtual</span> U32 flatten(<span class="keywordtype">void</span>* buffer);
00055 
00056 <span class="keyword">protected</span>:
00057         <span class="comment">// these are visible to our subclasses</span>
00058         <a class="code" href="classSkPathEffect.html">SkPathEffect</a>* fPE0, *fPE1;
00059         <a class="code" href="classSkPairPathEffect.html">SkPairPathEffect</a>(<span class="keyword">const</span> <span class="keywordtype">void</span>* buffer);
00060 };
00061 
<a name="l00067"></a><a class="code" href="classSkComposePathEffect.html">00067</a> <span class="keyword">class </span><a class="code" href="classSkComposePathEffect.html">SkComposePathEffect</a> : <span class="keyword">public</span> <a class="code" href="classSkPairPathEffect.html">SkPairPathEffect</a> {
00068 <span class="keyword">public</span>:
<a name="l00074"></a><a class="code" href="classSkComposePathEffect.html#a0">00074</a>         <a class="code" href="classSkComposePathEffect.html#a0">SkComposePathEffect</a>(<a class="code" href="classSkPathEffect.html">SkPathEffect</a>* outer, <a class="code" href="classSkPathEffect.html">SkPathEffect</a>* inner)
00075                 : <a class="code" href="classSkPairPathEffect.html">SkPairPathEffect</a>(outer, inner) {}
00076 
00077         <span class="comment">// overrides</span>
00078         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classSkComposePathEffect.html#a1">filterPath</a>(<a class="code" href="classSkPath.html">SkPath</a>* dst, <span class="keyword">const</span> <a class="code" href="classSkPath.html">SkPath</a>&amp; src, SkScalar* width);
00079 
00080         <span class="comment">// overrides for SkFlattenable</span>
00081         <span class="keyword">virtual</span> Factory <a class="code" href="classSkComposePathEffect.html#a2">getFactory</a>();
00082 
00083 <span class="keyword">private</span>:
00084         <a class="code" href="classSkPathEffect.html">SkPathEffect</a>* fOuter, *fInner;
00085 
00086         <span class="keyword">static</span> <a class="code" href="classSkFlattenable.html">SkFlattenable</a>* CreateProc(<span class="keyword">const</span> <span class="keywordtype">void</span>* buffer);
00087         <a class="code" href="classSkComposePathEffect.html#a0">SkComposePathEffect</a>(<span class="keyword">const</span> <span class="keywordtype">void</span>* buffer)
00088                 : <a class="code" href="classSkPairPathEffect.html">SkPairPathEffect</a>(buffer) {}
00089 
00090         <span class="comment">// illegal</span>
00091         <a class="code" href="classSkComposePathEffect.html#a0">SkComposePathEffect</a>(<span class="keyword">const</span> <a class="code" href="classSkComposePathEffect.html">SkComposePathEffect</a>&amp;);
00092         <a class="code" href="classSkComposePathEffect.html">SkComposePathEffect</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classSkComposePathEffect.html">SkComposePathEffect</a>&amp;);
00093 };
00094 
<a name="l00100"></a><a class="code" href="classSkSumPathEffect.html">00100</a> <span class="keyword">class </span><a class="code" href="classSkSumPathEffect.html">SkSumPathEffect</a> : <span class="keyword">public</span> <a class="code" href="classSkPairPathEffect.html">SkPairPathEffect</a> {
00101 <span class="keyword">public</span>:
<a name="l00107"></a><a class="code" href="classSkSumPathEffect.html#a0">00107</a>         <a class="code" href="classSkSumPathEffect.html#a0">SkSumPathEffect</a>(<a class="code" href="classSkPathEffect.html">SkPathEffect</a>* first, <a class="code" href="classSkPathEffect.html">SkPathEffect</a>* second)
00108                 : <a class="code" href="classSkPairPathEffect.html">SkPairPathEffect</a>(first, second) {}
00109 
00110         <span class="comment">// overrides</span>
00111         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classSkSumPathEffect.html#a1">filterPath</a>(<a class="code" href="classSkPath.html">SkPath</a>* dst, <span class="keyword">const</span> <a class="code" href="classSkPath.html">SkPath</a>&amp; src, SkScalar* width);
00112 
00113         <span class="comment">// overrides for SkFlattenable</span>
00114         <span class="keyword">virtual</span> Factory <a class="code" href="classSkSumPathEffect.html#a2">getFactory</a>();
00115 
00116 <span class="keyword">private</span>:
00117         <a class="code" href="classSkPathEffect.html">SkPathEffect</a>* fFirst, *fSecond;
00118 
00119         <span class="keyword">static</span> <a class="code" href="classSkFlattenable.html">SkFlattenable</a>* CreateProc(<span class="keyword">const</span> <span class="keywordtype">void</span>* buffer);
00120         <a class="code" href="classSkSumPathEffect.html#a0">SkSumPathEffect</a>(<span class="keyword">const</span> <span class="keywordtype">void</span>* buffer)
00121                 : <a class="code" href="classSkPairPathEffect.html">SkPairPathEffect</a>(buffer) {}
00122 
00123         <span class="comment">// illegal</span>
00124         <a class="code" href="classSkSumPathEffect.html#a0">SkSumPathEffect</a>(<span class="keyword">const</span> <a class="code" href="classSkSumPathEffect.html">SkSumPathEffect</a>&amp;);
00125         <a class="code" href="classSkSumPathEffect.html">SkSumPathEffect</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classSkSumPathEffect.html">SkSumPathEffect</a>&amp;);
00126 };
00127 
00128 <span class="preprocessor">#endif</span>
00129 <span class="preprocessor"></span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 9 14:35:23 2006 for SGL by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.0 </small></address>
</body>
</html>