| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 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 SkDraw_DEFINED | 10 #ifndef SkDraw_DEFINED |
| 11 #define SkDraw_DEFINED | 11 #define SkDraw_DEFINED |
| 12 | 12 |
| 13 #include "SkCanvas.h" | 13 #include "SkCanvas.h" |
| 14 #include "SkMask.h" | 14 #include "SkMask.h" |
| 15 #include "SkPaint.h" | 15 #include "SkPaint.h" |
| 16 | 16 |
| 17 class SkBitmap; | 17 class SkBitmap; |
| 18 class SkBounder; | 18 class SkBounder; |
| 19 class SkClipStack; | 19 class SkClipStack; |
| 20 class SkDevice; | 20 class SkBaseDevice; |
| 21 class SkMatrix; | 21 class SkMatrix; |
| 22 class SkPath; | 22 class SkPath; |
| 23 class SkRegion; | 23 class SkRegion; |
| 24 class SkRasterClip; | 24 class SkRasterClip; |
| 25 struct SkDrawProcs; | 25 struct SkDrawProcs; |
| 26 struct SkRect; | 26 struct SkRect; |
| 27 | 27 |
| 28 class SkDraw { | 28 class SkDraw { |
| 29 public: | 29 public: |
| 30 SkDraw(); | 30 SkDraw(); |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 | 120 |
| 121 static bool ShouldDrawTextAsPaths(const SkPaint&, const SkMatrix&); | 121 static bool ShouldDrawTextAsPaths(const SkPaint&, const SkMatrix&); |
| 122 | 122 |
| 123 public: | 123 public: |
| 124 const SkBitmap* fBitmap; // required | 124 const SkBitmap* fBitmap; // required |
| 125 const SkMatrix* fMatrix; // required | 125 const SkMatrix* fMatrix; // required |
| 126 const SkRegion* fClip; // DEPRECATED | 126 const SkRegion* fClip; // DEPRECATED |
| 127 const SkRasterClip* fRC; // required | 127 const SkRasterClip* fRC; // required |
| 128 | 128 |
| 129 const SkClipStack* fClipStack; // optional | 129 const SkClipStack* fClipStack; // optional |
| 130 SkDevice* fDevice; // optional | 130 SkBaseDevice* fDevice; // optional |
| 131 SkBounder* fBounder; // optional | 131 SkBounder* fBounder; // optional |
| 132 SkDrawProcs* fProcs; // optional | 132 SkDrawProcs* fProcs; // optional |
| 133 | 133 |
| 134 #ifdef SK_DEBUG | 134 #ifdef SK_DEBUG |
| 135 void validate() const; | 135 void validate() const; |
| 136 #else | 136 #else |
| 137 void validate() const {} | 137 void validate() const {} |
| 138 #endif | 138 #endif |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 #endif | 141 #endif |
| OLD | NEW |