skia2/include
vandebo@chromium.org da912d61ed [PDF] Add support for Shaders.
- Shaders, or as they are referred to in PDF, patterns, are drawn in the coordinate system of the initial page, so when we canonicalize them, we have to consider the current transform and where they are constructed.

- Image shaders are tiled by default, this makes repeat and mirror modes easy, but means we have to draw a pattern as large as the current clip to support clamp mode.

- Gradient shaders are implemented with type 4 functions, which are basically small snippets of post script code.  I've tried to make the code generation modular and heavily commented to make it easy to understand or expand.

Review URL: http://codereview.appspot.com/4239061

git-svn-id: http://skia.googlecode.com/svn/trunk@905 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-03-08 18:31:02 +00:00
..
animator grab from latest android 2008-12-17 15:59:43 +00:00
config [PDF] Restrict scalars to the range that PDF understands. 2011-03-04 03:15:13 +00:00
core remove unused methods from SkRefPtr, as a check-point for better understanding 2011-03-08 16:06:06 +00:00
effects [Committed on behalf of junov@chromium.org] 2011-02-18 19:03:01 +00:00
gpu Fix Sample App on Win32 GL window resize, fix sk->gr convexity hint, fix grpath uninit warnings 2011-03-04 22:48:25 +00:00
images merge from android tree: 2011-02-23 20:46:31 +00:00
pdf [PDF] Add support for Shaders. 2011-03-08 18:31:02 +00:00
ports export SkCreateTypefaceFromLOGFONT 2011-03-04 15:56:12 +00:00
svg update to match latest skia apis 2010-05-17 14:34:13 +00:00
text experimental draft, please ignore 2010-02-11 13:56:04 +00:00
utils fixes for some warnings: 2011-01-25 19:05:12 +00:00
views change forward decl of SkMatrix from struct (wrong) to class (correct) 2011-02-03 15:51:56 +00:00
xml update windows port 2009-12-18 21:33:39 +00:00