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

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

Issue 1265033002: IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add no-gpu build. Created 5 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
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkPdfGraphicsState_DEFINED 8 #ifndef SkPdfGraphicsState_DEFINED
9 #define SkPdfGraphicsState_DEFINED 9 #define SkPdfGraphicsState_DEFINED
10 10
11 #include "SkCanvas.h" 11 #include "SkCanvas.h"
12 #include "SkPaint.h" 12 #include "SkPaint.h"
13 #include "SkPath.h"
13 #include "SkPdfConfig.h" 14 #include "SkPdfConfig.h"
14 #include "SkPdfUtils.h" 15 #include "SkPdfUtils.h"
15 16
16 class SkPdfFont; 17 class SkPdfFont;
17 class SkPdfNativeObject; 18 class SkPdfNativeObject;
18 class SkPdfResourceDictionary; 19 class SkPdfResourceDictionary;
19 class SkPdfSoftMaskDictionary; 20 class SkPdfSoftMaskDictionary;
20 21
21 /** \class SkPdfColorOperator 22 /** \class SkPdfColorOperator
22 * Operates on stroking or non-stroking properties. 23 * Operates on stroking or non-stroking properties.
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 fBlendModesLength = 1; 346 fBlendModesLength = 1;
346 fBlendModes[0] = SkXfermode::kSrc_Mode; // PDF: Normal Blend mode 347 fBlendModes[0] = SkXfermode::kSrc_Mode; // PDF: Normal Blend mode
347 fSMask = NULL; 348 fSMask = NULL;
348 } 349 }
349 350
350 // TODO(edisonn): make two functions instead, stroking and non stoking, avoi d branching 351 // TODO(edisonn): make two functions instead, stroking and non stoking, avoi d branching
351 void applyGraphicsState(SkPaint* paint, bool stroking); 352 void applyGraphicsState(SkPaint* paint, bool stroking);
352 }; 353 };
353 354
354 #endif // SkPdfGraphicsState_DEFINED 355 #endif // SkPdfGraphicsState_DEFINED
OLDNEW
« no previous file with comments | « bench/SKPBench.h ('k') | gm/aarectmodes.cpp » ('j') | include/core/SkPostConfig.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698