ethannicholas 2016-01-29 08:02:34 -08:00 committed by Commit bot
parent 4d9eaea174
commit c05f7c3d57

View File

@ -197,6 +197,7 @@ void Renderer::getPaint(Json::Value& command, SkPaint* result) {
SkASSERT(false);
textAlign = SkPaint::kLeft_Align;
}
result->setTextAlign(textAlign);
}
if (jsonPaint.isMember(SKJSONCANVAS_ATTRIBUTE_TEXTSIZE)) {
float textSize = jsonPaint[SKJSONCANVAS_ATTRIBUTE_TEXTSIZE].asFloat();