| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2010 The Android Open Source Project | 2 * Copyright 2010 The Android Open Source Project |
| 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 | 8 |
| 9 #ifndef SkPDFGraphicState_DEFINED | 9 #ifndef SkPDFGraphicState_DEFINED |
| 10 #define SkPDFGraphicState_DEFINED | 10 #define SkPDFGraphicState_DEFINED |
| 11 | 11 |
| 12 #include "SkPaint.h" | |
| 13 #include "SkPDFStream.h" | 12 #include "SkPDFStream.h" |
| 14 #include "SkChecksum.h" | 13 #include "SkChecksum.h" |
| 15 | 14 |
| 15 class SkPaint; |
| 16 class SkPDFCanon; | 16 class SkPDFCanon; |
| 17 class SkPDFFormXObject; | 17 class SkPDFFormXObject; |
| 18 | 18 |
| 19 /** \class SkPDFGraphicState | 19 /** \class SkPDFGraphicState |
| 20 SkPaint objects roughly correspond to graphic state dictionaries that can | 20 SkPaint objects roughly correspond to graphic state dictionaries that can |
| 21 be installed. So that a given dictionary is only output to the pdf file | 21 be installed. So that a given dictionary is only output to the pdf file |
| 22 once, we want to canonicalize them. | 22 once, we want to canonicalize them. |
| 23 */ | 23 */ |
| 24 class SkPDFGraphicState final : public SkPDFObject { | 24 class SkPDFGraphicState final : public SkPDFObject { |
| 25 | 25 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 const uint8_t fStrokeCap; // SkPaint::Cap | 73 const uint8_t fStrokeCap; // SkPaint::Cap |
| 74 const uint8_t fStrokeJoin; // SkPaint::Join | 74 const uint8_t fStrokeJoin; // SkPaint::Join |
| 75 const uint8_t fMode; // SkXfermode::Mode | 75 const uint8_t fMode; // SkXfermode::Mode |
| 76 | 76 |
| 77 SkPDFGraphicState(const SkPaint&); | 77 SkPDFGraphicState(const SkPaint&); |
| 78 | 78 |
| 79 typedef SkPDFDict INHERITED; | 79 typedef SkPDFDict INHERITED; |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 #endif | 82 #endif |
| OLD | NEW |