| OLD | NEW |
| 1 #ifndef __DEFINED__SkPdfBasics | 1 #ifndef __DEFINED__SkPdfBasics |
| 2 #define __DEFINED__SkPdfBasics | 2 #define __DEFINED__SkPdfBasics |
| 3 | 3 |
| 4 #include "SkCanvas.h" | 4 #include "SkCanvas.h" |
| 5 #include "SkPaint.h" | 5 #include "SkPaint.h" |
| 6 #include "SkPdfConfig.h" | 6 #include "SkPdfConfig.h" |
| 7 | 7 |
| 8 #include <iostream> | 8 #include <iostream> |
| 9 #include <cstdio> | 9 #include <cstdio> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 soft mask dictionary (PDF 1.4) A soft-mask dictionary (see “Soft-Mask
Dictionaries” on | 214 soft mask dictionary (PDF 1.4) A soft-mask dictionary (see “Soft-Mask
Dictionaries” on |
| 215 or name page 445) specifying the mask shape or mask opac
ity values to be | 215 or name page 445) specifying the mask shape or mask opac
ity values to be |
| 216 used in the transparent imaging model (see “Sour
ce Shape and | 216 used in the transparent imaging model (see “Sour
ce Shape and |
| 217 Opacity” on page 421 and “Mask Shape and Opacity
” on page 443), | 217 Opacity” on page 421 and “Mask Shape and Opacity
” on page 443), |
| 218 or the name None if no such mask is specified. Th
is parameter is | 218 or the name None if no such mask is specified. Th
is parameter is |
| 219 implicitly reset to its initial value at the beg
inning of execution of a | 219 implicitly reset to its initial value at the beg
inning of execution of a |
| 220 transparency group XObject (see Section 7.5.5, “
Transparency | 220 transparency group XObject (see Section 7.5.5, “
Transparency |
| 221 Group XObjects”). Initial value: None. | 221 Group XObjects”). Initial value: None. |
| 222 */ | 222 */ |
| 223 SkPdfSoftMaskDictionary* fSoftMaskDictionary; | 223 SkPdfSoftMaskDictionary* fSoftMaskDictionary; |
| 224 SkBitmap fSMask; | 224 // TODO(edisonn): make sMask private, add setter and getter, ref/unref/...,
at the moment we most likely leask |
| 225 SkBitmap* fSMask; |
| 225 | 226 |
| 226 | 227 |
| 227 /* | 228 /* |
| 228 alpha constant number (PDF 1.4) The constant shape or constant opacity
value to be used | 229 alpha constant number (PDF 1.4) The constant shape or constant opacity
value to be used |
| 229 in the transparent imaging model (see “Source Sh
ape and Opacity” | 230 in the transparent imaging model (see “Source Sh
ape and Opacity” |
| 230 on page 421 and “Constant Shape and Opacity” on
page 444). | 231 on page 421 and “Constant Shape and Opacity” on
page 444). |
| 231 There are two separate alpha constant parameters
: one for stroking | 232 There are two separate alpha constant parameters
: one for stroking |
| 232 and one for all other painting operations. This
parameter is implic- | 233 and one for all other painting operations. This
parameter is implic- |
| 233 itly reset to its initial value at the beginning
of execution of a trans- | 234 itly reset to its initial value at the beginning
of execution of a trans- |
| 234 parency group XObject (see Section 7.5.5, “Trans
parency Group | 235 parency group XObject (see Section 7.5.5, “Trans
parency Group |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 kPartial_PdfResult, | 388 kPartial_PdfResult, |
| 388 kNYI_PdfResult, | 389 kNYI_PdfResult, |
| 389 kIgnoreError_PdfResult, | 390 kIgnoreError_PdfResult, |
| 390 kError_PdfResult, | 391 kError_PdfResult, |
| 391 kUnsupported_PdfResult, | 392 kUnsupported_PdfResult, |
| 392 | 393 |
| 393 kCount_PdfResult | 394 kCount_PdfResult |
| 394 }; | 395 }; |
| 395 | 396 |
| 396 #endif // __DEFINED__SkPdfBasics | 397 #endif // __DEFINED__SkPdfBasics |
| OLD | NEW |