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 |