| 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 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 * other references. | 67 * other references. |
| 68 */ | 68 */ |
| 69 static SkPDFGraphicState* GetNoSMaskGraphicState(); | 69 static SkPDFGraphicState* GetNoSMaskGraphicState(); |
| 70 | 70 |
| 71 bool equals(const SkPaint&) const; | 71 bool equals(const SkPaint&) const; |
| 72 | 72 |
| 73 // Only public for SK_DECLARE_STATIC_LAZY_PTR | 73 // Only public for SK_DECLARE_STATIC_LAZY_PTR |
| 74 static SkPDFGraphicState* CreateNoSMaskGraphicState(); | 74 static SkPDFGraphicState* CreateNoSMaskGraphicState(); |
| 75 | 75 |
| 76 private: | 76 private: |
| 77 SkPDFCanon* const fCanon; | |
| 78 const SkPaint fPaint; | 77 const SkPaint fPaint; |
| 79 bool fPopulated; | 78 bool fPopulated; |
| 80 | 79 |
| 81 SkPDFGraphicState(); | 80 SkPDFGraphicState(); |
| 82 SkPDFGraphicState(SkPDFCanon* canon, const SkPaint& paint); | 81 SkPDFGraphicState(const SkPaint& paint); |
| 83 | 82 |
| 84 void populateDict(); | 83 void populateDict(); |
| 85 | 84 |
| 86 typedef SkPDFDict INHERITED; | 85 typedef SkPDFDict INHERITED; |
| 87 }; | 86 }; |
| 88 | 87 |
| 89 #endif | 88 #endif |
| OLD | NEW |