| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
| 4 * | 3 * |
| 5 * 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 |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 | 7 |
| 9 | 8 #ifndef SkPaintPart_DEFINED |
| 10 #ifndef SkPaintParts_DEFINED | 9 #define SkPaintPart_DEFINED |
| 11 #define SkPaintParts_DEFINED | |
| 12 | 10 |
| 13 #include "SkDisplayable.h" | 11 #include "SkDisplayable.h" |
| 14 #include "SkMemberInfo.h" | 12 #include "SkMemberInfo.h" |
| 15 #include "SkPaint.h" | 13 #include "SkPaint.h" |
| 16 #include "SkShader.h" | 14 #include "SkShader.h" |
| 17 #include "SkTypeface.h" | 15 #include "SkTypeface.h" |
| 18 #include "SkXfermode.h" | 16 #include "SkXfermode.h" |
| 19 | 17 |
| 20 class SkDrawPaint; | 18 class SkDrawPaint; |
| 21 class SkDrawMatrix; | 19 class SkDrawMatrix; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 virtual void dump(SkAnimateMaker *); | 63 virtual void dump(SkAnimateMaker *); |
| 66 #endif | 64 #endif |
| 67 SkTypeface* getTypeface() { | 65 SkTypeface* getTypeface() { |
| 68 return SkTypeface::CreateFromName(fontName.c_str(), style); } | 66 return SkTypeface::CreateFromName(fontName.c_str(), style); } |
| 69 protected: | 67 protected: |
| 70 virtual bool add(); | 68 virtual bool add(); |
| 71 SkString fontName; | 69 SkString fontName; |
| 72 SkTypeface::Style style; | 70 SkTypeface::Style style; |
| 73 }; | 71 }; |
| 74 | 72 |
| 75 #endif // SkPaintParts_DEFINED | 73 #endif // SkPaintPart_DEFINED |
| OLD | NEW |