skia2/include
vandebo@chromium.org 6112c215fb [PDF] Add support for SrcIn, SrcOut, DstIn, DstOut xfermodes.
This change uses the soft mask (aka soft clip) functionality of PDF to implement the xfermodes.  It has to put existing content (dst) into a form xobject as well as putting the new (src) content into a different form xobject.  It then draws one of them with the other as the soft mask.
To accomplish this, we add a call to finishContentEntry after each call to setUpContentEntry - this is kind of a hack, but I don't see a better way to extract src.
Unfortunately, soft mask is specified in the Graphic State PDF object (and not in the form xobject), so when handling one of these modes, we add a one time GS object to set the soft mask and invoke a simple GS to reset the soft mask when done.

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

git-svn-id: http://skia.googlecode.com/svn/trunk@1320 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-13 03:50:38 +00:00
..
animator grab from latest android 2008-12-17 15:59:43 +00:00
config Updates to the unix sample app. 2011-03-18 21:43:03 +00:00
core update dox 2011-05-12 22:31:01 +00:00
effects Add missing flattenable registrations and CreateProc() functions; 2011-04-27 14:09:52 +00:00
gpu Make GrMatrix an alias of SkMatrix. Add new methods to SkMatrix. 2011-05-10 13:52:42 +00:00
images merge from android tree: 2011-02-23 20:46:31 +00:00
pdf [PDF] Add support for SrcIn, SrcOut, DstIn, DstOut xfermodes. 2011-05-13 03:50:38 +00:00
pipe updated pipe 2011-05-03 21:26:46 +00:00
ports add SkCreateTypefaceFromCTFont() to create a typeface directly from a CTFontRef 2011-03-22 14:07:59 +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 remove deprecated getViewport/setViewport 2011-05-04 13:50:34 +00:00
views http://codereview.appspot.com/4373057/ 2011-04-15 14:48:08 +00:00
xml update windows port 2009-12-18 21:33:39 +00:00