Searched refs:store_scalar (Results 1 – 2 of 2) sorted by relevance
/external/skia/tools/json/ |
D | SkJSONCanvas.cpp | 146 static void store_scalar(Json::Value* target, const char* key, SkScalar value, in store_scalar() function 463 store_scalar(&result, SKJSONCANVAS_ATTRIBUTE_STROKEWIDTH, paint.getStrokeWidth(), 0.0f); in makePaint() 464 store_scalar(&result, SKJSONCANVAS_ATTRIBUTE_STROKEMITER, paint.getStrokeMiter(), in makePaint() 467 store_scalar(&result, SKJSONCANVAS_ATTRIBUTE_TEXTSIZE, paint.getTextSize(), in makePaint() 469 store_scalar(&result, SKJSONCANVAS_ATTRIBUTE_TEXTSCALEX, paint.getTextScaleX(), SK_Scalar1); in makePaint() 470 store_scalar(&result, SKJSONCANVAS_ATTRIBUTE_TEXTSCALEX, paint.getTextSkewX(), 0.0f); in makePaint()
|
/external/skia/tools/debugger/ |
D | SkDrawCommand.cpp | 610 static void store_scalar(Json::Value* target, const char* key, SkScalar value, in store_scalar() function 1087 store_scalar(&result, SKDEBUGCANVAS_ATTRIBUTE_STROKEWIDTH, paint.getStrokeWidth(), 0.0f); in make_json_paint() 1088 store_scalar(&result, SKDEBUGCANVAS_ATTRIBUTE_STROKEMITER, paint.getStrokeMiter(), in make_json_paint() 1092 store_scalar(&result, SKDEBUGCANVAS_ATTRIBUTE_TEXTSIZE, paint.getTextSize(), in make_json_paint() 1094 store_scalar(&result, SKDEBUGCANVAS_ATTRIBUTE_TEXTSCALEX, paint.getTextScaleX(), SK_Scalar1); in make_json_paint() 1095 store_scalar(&result, SKDEBUGCANVAS_ATTRIBUTE_TEXTSCALEX, paint.getTextSkewX(), 0.0f); in make_json_paint()
|