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

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

Issue 20628008: pdfviewer: finish implementation of SkPdfObject.toString(), and include in debugging traces we leav… (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/SkPdfRenderer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #include "SkPdfBasics.h" 1 #include "SkPdfBasics.h"
2 #include "SkPdfNativeTokenizer.h" 2 #include "SkPdfNativeTokenizer.h"
3 3
4 #include "SkDashPathEffect.h" 4 #include "SkDashPathEffect.h"
5 5
6 PdfContext::PdfContext(SkNativeParsedPDF* doc) 6 PdfContext::PdfContext(SkNativeParsedPDF* doc)
7 : fPdfDoc(doc) 7 : fPdfDoc(doc)
8 , fTmpPageAllocator(new SkPdfAllocator()) { 8 , fTmpPageAllocator(new SkPdfAllocator()) {
9 } 9 }
10 10
(...skipping 19 matching lines...) Expand all
30 // of the intervals 30 // of the intervals
31 if (fDashArrayLength > 0) { 31 if (fDashArrayLength > 0) {
32 paint->setPathEffect(new SkDashPathEffect(fDashArray, fDashArrayLeng th, fDashPhase))->unref(); 32 paint->setPathEffect(new SkDashPathEffect(fDashArray, fDashArrayLeng th, fDashPhase))->unref();
33 } 33 }
34 } 34 }
35 35
36 // TODO(edisonn): NYI multiple blend modes 36 // TODO(edisonn): NYI multiple blend modes
37 if (fBlendModesLength == 1 && fBlendModes[0] != SkXfermode::kSrc_Mode) { 37 if (fBlendModesLength == 1 && fBlendModes[0] != SkXfermode::kSrc_Mode) {
38 paint->setXfermodeMode(fBlendModes[0]); 38 paint->setXfermodeMode(fBlendModes[0]);
39 } 39 }
40
41 //paint->setStrokeMiter(SkDoubleToScalar(fMiterLimit));
42 // TODO(edisonn): impl cap and join
40 } 43 }
OLDNEW
« no previous file with comments | « no previous file | experimental/PdfViewer/SkPdfRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698