OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2010 The Android Open Source Project | 3 * Copyright 2010 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #ifndef SkPDFGraphicState_DEFINED | 10 #ifndef SkPDFGraphicState_DEFINED |
11 #define SkPDFGraphicState_DEFINED | 11 #define SkPDFGraphicState_DEFINED |
12 | 12 |
13 #include "SkPaint.h" | 13 #include "SkPaint.h" |
14 #include "SkPDFTypes.h" | 14 #include "SkPDFTypes.h" |
15 #include "SkTemplates.h" | |
16 #include "SkChecksum.h" | 15 #include "SkChecksum.h" |
17 | 16 |
18 class SkPDFCanon; | 17 class SkPDFCanon; |
19 class SkPDFFormXObject; | 18 class SkPDFFormXObject; |
20 | 19 |
21 /** \class SkPDFGraphicState | 20 /** \class SkPDFGraphicState |
22 SkPaint objects roughly correspond to graphic state dictionaries that can | 21 SkPaint objects roughly correspond to graphic state dictionaries that can |
23 be installed. So that a given dictionary is only output to the pdf file | 22 be installed. So that a given dictionary is only output to the pdf file |
24 once, we want to canonicalize them. | 23 once, we want to canonicalize them. |
25 */ | 24 */ |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 const uint8_t fStrokeCap; // SkPaint::Cap | 81 const uint8_t fStrokeCap; // SkPaint::Cap |
83 const uint8_t fStrokeJoin; // SkPaint::Join | 82 const uint8_t fStrokeJoin; // SkPaint::Join |
84 const uint8_t fMode; // SkXfermode::Mode | 83 const uint8_t fMode; // SkXfermode::Mode |
85 | 84 |
86 SkPDFGraphicState(const SkPaint&); | 85 SkPDFGraphicState(const SkPaint&); |
87 | 86 |
88 typedef SkPDFDict INHERITED; | 87 typedef SkPDFDict INHERITED; |
89 }; | 88 }; |
90 | 89 |
91 #endif | 90 #endif |
OLD | NEW |