Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: experimental/PdfViewer/SkPdfBasics.h

Issue 21125002: pdfviewer: more plumming for soft masks (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | experimental/PdfViewer/SkPdfFont.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/PdfViewer/SkPdfBasics.h
===================================================================
--- experimental/PdfViewer/SkPdfBasics.h (revision 10404)
+++ experimental/PdfViewer/SkPdfBasics.h (working copy)
@@ -189,7 +189,8 @@
transparency group XObject (see Section 7.5.5, “Transparency
Group XObjects”). Initial value: Normal.
*/
- SkXfermode::Mode fBlendMode;
+ SkXfermode::Mode fBlendModes[256];
+ int fBlendModesLength;
/*
soft mask dictionary (PDF 1.4) A soft-mask dictionary (see “Soft-Mask Dictionaries” on
@@ -327,7 +328,8 @@
fAlphaSource = false;
fDashArrayLength = 0;
fDashPhase = 0;
- fBlendMode = SkXfermode::kSrc_Mode; // PDF: Normal Blend mode
+ fBlendModesLength = 1;
+ fBlendModes[0] = SkXfermode::kSrc_Mode; // PDF: Normal Blend mode
}
// TODO(edisonn): make two functons instead, stroking and non stoking, avoid branching
« no previous file with comments | « no previous file | experimental/PdfViewer/SkPdfFont.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698