Lines Matching refs:asFloat
1114 return SkPoint::Make(point[0].asFloat(), point[1].asFloat()); in get_json_point()
1243 float strokeWidth = jsonPaint[SKDEBUGCANVAS_ATTRIBUTE_STROKEWIDTH].asFloat(); in extract_json_paint_strokewidth()
1250 float strokeMiter = jsonPaint[SKDEBUGCANVAS_ATTRIBUTE_STROKEMITER].asFloat(); in extract_json_paint_strokemiter()
1321 SkScalar sigma = blur[SKDEBUGCANVAS_ATTRIBUTE_SIGMA].asFloat(); in extract_json_paint_blur()
1363 intervals[i] = jsonIntervals[i].asFloat(); in extract_json_paint_dashing()
1365 SkScalar phase = dash[SKDEBUGCANVAS_ATTRIBUTE_PHASE].asFloat(); in extract_json_paint_dashing()
1394 float textSize = jsonPaint[SKDEBUGCANVAS_ATTRIBUTE_TEXTSIZE].asFloat(); in extract_json_paint_textsize()
1401 float textScaleX = jsonPaint[SKDEBUGCANVAS_ATTRIBUTE_TEXTSCALEX].asFloat(); in extract_json_paint_textscalex()
1408 float textSkewX = jsonPaint[SKDEBUGCANVAS_ATTRIBUTE_TEXTSKEWX].asFloat(); in extract_json_paint_textskewx()
1441 result->set(rect[0].asFloat(), rect[1].asFloat(), rect[2].asFloat(), rect[3].asFloat()); in extract_json_rect()
1450 { rrect[1][0].asFloat(), rrect[1][1].asFloat() }, in extract_json_rrect()
1451 { rrect[2][0].asFloat(), rrect[2][1].asFloat() }, in extract_json_rrect()
1452 { rrect[3][0].asFloat(), rrect[3][1].asFloat() }, in extract_json_rrect()
1453 { rrect[4][0].asFloat(), rrect[4][1].asFloat() } in extract_json_rrect()
1455 result->setRectRadii(SkRect::MakeLTRB(rrect[0][0].asFloat(), rrect[0][1].asFloat(), in extract_json_rrect()
1456 rrect[0][2].asFloat(), rrect[0][3].asFloat()), in extract_json_rrect()
1462 matrix[0][0].asFloat(), matrix[0][1].asFloat(), matrix[0][2].asFloat(), in extract_json_matrix()
1463 matrix[1][0].asFloat(), matrix[1][1].asFloat(), matrix[1][2].asFloat(), in extract_json_matrix()
1464 matrix[2][0].asFloat(), matrix[2][1].asFloat(), matrix[2][2].asFloat() in extract_json_matrix()
1493 result->moveTo(move[0].asFloat(), move[1].asFloat()); in extract_json_path()
1497 result->lineTo(line[0].asFloat(), line[1].asFloat()); in extract_json_path()
1501 result->quadTo(quad[0][0].asFloat(), quad[0][1].asFloat(), in extract_json_path()
1502 quad[1][0].asFloat(), quad[1][1].asFloat()); in extract_json_path()
1506 result->cubicTo(cubic[0][0].asFloat(), cubic[0][1].asFloat(), in extract_json_path()
1507 cubic[1][0].asFloat(), cubic[1][1].asFloat(), in extract_json_path()
1508 cubic[2][0].asFloat(), cubic[2][1].asFloat()); in extract_json_path()
1512 result->conicTo(conic[0][0].asFloat(), conic[0][1].asFloat(), in extract_json_path()
1513 conic[1][0].asFloat(), conic[1][1].asFloat(), in extract_json_path()
1514 conic[2].asFloat()); in extract_json_path()
1780 SkDrawBitmapCommand* result = new SkDrawBitmapCommand(*bitmap, point[0].asFloat(), in fromJSON()
1781 point[1].asFloat(), paintPtr); in fromJSON()
2015 SkDrawImageCommand* result = new SkDrawImageCommand(image, point[0].asFloat(), in fromJSON()
2016 point[1].asFloat(), paintPtr); in fromJSON()
2370 points[i] = SkPoint::Make(jsonPoints[i][0].asFloat(), jsonPoints[i][1].asFloat()); in fromJSON()
2425 points[i] = SkPoint::Make(coords[i][0].asFloat(), coords[i][1].asFloat()); in fromJSON()
2573 SkScalar x = coords[0].asFloat(); in fromJSON()
2574 SkScalar y = coords[1].asFloat(); in fromJSON()
2581 buffer.pos[j] = positions[j].asFloat(); in fromJSON()
2588 buffer.pos[j * 2] = positions[j][0].asFloat(); in fromJSON()
2589 buffer.pos[j * 2 + 1] = positions[j][1].asFloat(); in fromJSON()
2600 SkScalar x = command[SKDEBUGCANVAS_ATTRIBUTE_X].asFloat(); in fromJSON()
2601 SkScalar y = command[SKDEBUGCANVAS_ATTRIBUTE_Y].asFloat(); in fromJSON()
2846 return new SkDrawTextCommand(text, strlen(text), coords[0].asFloat(), coords[1].asFloat(), in fromJSON()