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

Side by Side Diff: experimental/PdfViewer/SkPdfBasics.h

Issue 21738005: pdfviewer: add indexed rbg image support, enhanche caching(setData) for SkPdfObject (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | experimental/PdfViewer/SkPdfFont.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« 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