blob: 1f46ac2ad0306846f25748d7f024e1626c5c166d [file] [log] [blame]
<!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: SkTransparentShader.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>SkTransparentShader.h</h1><div class="fragment"><pre class="fragment">00001 <span class="preprocessor">#ifndef SkTransparentShader_DEFINED</span>
00002 <span class="preprocessor"></span><span class="preprocessor">#define SkTransparentShader_DEFINED</span>
00003 <span class="preprocessor"></span>
00004 <span class="preprocessor">#include "SkShader.h"</span>
00005
00006 <span class="keyword">class </span>SkTransparentShader : <span class="keyword">public</span> <a class="code" href="classSkShader.html">SkShader</a> {
00007 <span class="keyword">public</span>:
00008 <span class="keyword">virtual</span> U32 <a class="code" href="classSkShader.html#a4">getFlags</a>();
00009 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classSkShader.html#a5">setContext</a>( <span class="keyword">const</span> <a class="code" href="classSkBitmap.html">SkBitmap</a>&amp; device,
00010 <span class="keyword">const</span> <a class="code" href="classSkPaint.html">SkPaint</a>&amp; paint,
00011 <span class="keyword">const</span> SkMatrix&amp; matrix);
00012 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classSkShader.html#a6">shadeSpan</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, SkPMColor[], <span class="keywordtype">int</span> count);
00013 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classSkShader.html#a7">shadeSpanOpaque16</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, U16 span[], <span class="keywordtype">int</span> count);
00014
00015 <span class="keyword">private</span>:
00016 <a class="code" href="classSkBitmap.html">SkBitmap</a> fDevice;
00017 U8 fAlpha;
00018
00019 <span class="keyword">typedef</span> <a class="code" href="classSkShader.html">SkShader</a> INHERITED;
00020 };
00021
00022 <span class="preprocessor">#endif</span>
00023 <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>