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

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

Issue 23361009: pdfviewer: code cleanup - add licence on files, make replace __DEFINE__foo with foo_DEFINED to matc… (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 | « experimental/PdfViewer/SkPdfGraphicsState.h ('k') | experimental/PdfViewer/SkPdfUtils.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 /*
2 * Copyright 2013 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
1 #include "SkPdfGraphicsState.h" 8 #include "SkPdfGraphicsState.h"
2 #include "SkPdfNativeTokenizer.h" 9 #include "SkPdfNativeTokenizer.h"
3 10
4 #include "SkDashPathEffect.h" 11 #include "SkDashPathEffect.h"
5 12
6 SkPdfContext::SkPdfContext(SkPdfNativeDoc* doc) 13 SkPdfContext::SkPdfContext(SkPdfNativeDoc* doc)
7 : fPdfDoc(doc) 14 : fPdfDoc(doc)
8 , fTmpPageAllocator(new SkPdfAllocator()) { 15 , fTmpPageAllocator(new SkPdfAllocator()) {
9 } 16 }
10 17
(...skipping 23 matching lines...) Expand all
34 } 41 }
35 42
36 // TODO(edisonn): NYI multiple blend modes 43 // TODO(edisonn): NYI multiple blend modes
37 if (fBlendModesLength == 1 && fBlendModes[0] != SkXfermode::kSrc_Mode) { 44 if (fBlendModesLength == 1 && fBlendModes[0] != SkXfermode::kSrc_Mode) {
38 paint->setXfermodeMode(fBlendModes[0]); 45 paint->setXfermodeMode(fBlendModes[0]);
39 } 46 }
40 47
41 //paint->setStrokeMiter(SkDoubleToScalar(fMiterLimit)); 48 //paint->setStrokeMiter(SkDoubleToScalar(fMiterLimit));
42 // TODO(edisonn): impl cap and join 49 // TODO(edisonn): impl cap and join
43 } 50 }
OLDNEW
« no previous file with comments | « experimental/PdfViewer/SkPdfGraphicsState.h ('k') | experimental/PdfViewer/SkPdfUtils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698