| 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 #include "SkPaintPart.h" | 
| 10 #include "SkPaintParts.h" |  | 
| 11 #include "SkDrawPaint.h" | 9 #include "SkDrawPaint.h" | 
| 12 #ifdef SK_DUMP_ENABLED | 10 #ifdef SK_DUMP_ENABLED | 
| 13 #include "SkDisplayList.h" | 11 #include "SkDisplayList.h" | 
| 14 #include "SkDump.h" | 12 #include "SkDump.h" | 
| 15 #endif | 13 #endif | 
| 16 | 14 | 
| 17 SkPaintPart::SkPaintPart() : fPaint(NULL) { | 15 SkPaintPart::SkPaintPart() : fPaint(NULL) { | 
| 18 } | 16 } | 
| 19 | 17 | 
| 20 SkDisplayable* SkPaintPart::getParent() const { | 18 SkDisplayable* SkPaintPart::getParent() const { | 
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 92 } | 90 } | 
| 93 | 91 | 
| 94 #ifdef SK_DUMP_ENABLED | 92 #ifdef SK_DUMP_ENABLED | 
| 95 void SkDrawTypeface::dump(SkAnimateMaker*) { | 93 void SkDrawTypeface::dump(SkAnimateMaker*) { | 
| 96     SkDebugf("%*s<typeface fontName=\"%s\" ", SkDisplayList::fIndent, "", fontNa
     me.c_str()); | 94     SkDebugf("%*s<typeface fontName=\"%s\" ", SkDisplayList::fIndent, "", fontNa
     me.c_str()); | 
| 97     SkString string; | 95     SkString string; | 
| 98     SkDump::GetEnumString(SkType_FontStyle, style, &string); | 96     SkDump::GetEnumString(SkType_FontStyle, style, &string); | 
| 99     SkDebugf("style=\"%s\" />\n", string.c_str()); | 97     SkDebugf("style=\"%s\" />\n", string.c_str()); | 
| 100 } | 98 } | 
| 101 #endif | 99 #endif | 
| OLD | NEW | 
|---|