Index: src/core/SkPaint.cpp |
=================================================================== |
--- src/core/SkPaint.cpp (revision 11807) |
+++ src/core/SkPaint.cpp (working copy) |
@@ -2434,7 +2434,6 @@ |
if (this->getFlags()) { |
bool needSeparator = false; |
SkAddFlagToString(str, this->isAntiAlias(), "AntiAlias", &needSeparator); |
- SkAddFlagToString(str, this->isFilterBitmap(), "FilterBitmap", &needSeparator); |
SkAddFlagToString(str, this->isDither(), "Dither", &needSeparator); |
SkAddFlagToString(str, this->isUnderlineText(), "UnderlineText", &needSeparator); |
SkAddFlagToString(str, this->isStrikeThruText(), "StrikeThruText", &needSeparator); |
@@ -2454,6 +2453,11 @@ |
} |
str->append(")</dd>"); |
+ str->append("<dt>FilterLevel:</dt><dd>"); |
+ static const char* gFilterLevelStrings[] = { "None", "Low", "Medium", "High" }; |
+ str->append(gFilterLevelStrings[this->getFilterLevel()]); |
+ str->append("</dd>"); |
+ |
str->append("<dt>TextAlign:</dt><dd>"); |
static const char* gTextAlignStrings[SkPaint::kAlignCount] = { "Left", "Center", "Right" }; |
str->append(gTextAlignStrings[this->getTextAlign()]); |