Lines Matching refs:asFloat

364         float strokeWidth = jsonPaint[SKJSONCANVAS_ATTRIBUTE_STROKEWIDTH].asFloat();
371 float strokeMiter = jsonPaint[SKJSONCANVAS_ATTRIBUTE_STROKEMITER].asFloat();
400 SkScalar sigma = blur[SKJSONCANVAS_ATTRIBUTE_SIGMA].asFloat();
442 intervals[i] = jsonIntervals[i].asFloat();
444 SkScalar phase = dash[SKJSONCANVAS_ATTRIBUTE_PHASE].asFloat();
473 float textSize = jsonPaint[SKJSONCANVAS_ATTRIBUTE_TEXTSIZE].asFloat();
480 float textScaleX = jsonPaint[SKJSONCANVAS_ATTRIBUTE_TEXTSCALEX].asFloat();
487 float textSkewX = jsonPaint[SKJSONCANVAS_ATTRIBUTE_TEXTSKEWX].asFloat();
528 result->set(rect[0].asFloat(), rect[1].asFloat(), rect[2].asFloat(), rect[3].asFloat());
533 { rrect[1][0].asFloat(), rrect[1][1].asFloat() },
534 { rrect[2][0].asFloat(), rrect[2][1].asFloat() },
535 { rrect[3][0].asFloat(), rrect[3][1].asFloat() },
536 { rrect[4][0].asFloat(), rrect[4][1].asFloat() }
538 result->setRectRadii(SkRect::MakeLTRB(rrect[0][0].asFloat(), rrect[0][1].asFloat(),
539 rrect[0][2].asFloat(), rrect[0][3].asFloat()),
545 matrix[0][0].asFloat(), matrix[0][1].asFloat(), matrix[0][2].asFloat(),
546 matrix[1][0].asFloat(), matrix[1][1].asFloat(), matrix[1][2].asFloat(),
547 matrix[2][0].asFloat(), matrix[2][1].asFloat(), matrix[2][2].asFloat()
576 result->moveTo(move[0].asFloat(), move[1].asFloat());
580 result->lineTo(line[0].asFloat(), line[1].asFloat());
584 result->quadTo(quad[0][0].asFloat(), quad[0][1].asFloat(),
585 quad[1][0].asFloat(), quad[1][1].asFloat());
589 result->cubicTo(cubic[0][0].asFloat(), cubic[0][1].asFloat(),
590 cubic[1][0].asFloat(), cubic[1][1].asFloat(),
591 cubic[2][0].asFloat(), cubic[2][1].asFloat());
595 result->conicTo(conic[0][0].asFloat(), conic[0][1].asFloat(),
596 conic[1][0].asFloat(), conic[1][1].asFloat(),
597 conic[2].asFloat());
631 target->translate(command[SKJSONCANVAS_ATTRIBUTE_X].asFloat(),
632 command[SKJSONCANVAS_ATTRIBUTE_Y].asFloat());
636 target->scale(command[SKJSONCANVAS_ATTRIBUTE_X].asFloat(),
637 command[SKJSONCANVAS_ATTRIBUTE_Y].asFloat());
718 target->drawText(text, strlen(text), coords[0].asFloat(), coords[1].asFloat(), paint);
729 points[i] = SkPoint::Make(coords[i][0].asFloat(), coords[i][1].asFloat());
764 SkScalar x = coords[0].asFloat();
765 SkScalar y = coords[1].asFloat();
772 buffer.pos[j] = positions[j].asFloat();
779 buffer.pos[j * 2] = positions[j][0].asFloat();
780 buffer.pos[j * 2 + 1] = positions[j][1].asFloat();
791 SkScalar x = command[SKJSONCANVAS_ATTRIBUTE_X].asFloat();
792 SkScalar y = command[SKJSONCANVAS_ATTRIBUTE_Y].asFloat();
818 points[i] = SkPoint::Make(jsonPoints[i][0].asFloat(), jsonPoints[i][1].asFloat());
862 target->drawImage(image, point[0].asFloat(), point[1].asFloat(), paintPtr);
916 target->drawImage(image, point[0].asFloat(), point[1].asFloat(), paintPtr);