Home
last modified time | relevance | path

Searched refs:circleRadius (Results 1 – 3 of 3) sorted by relevance

/external/skia/docs/examples/
Dmapradius.cpp13 const SkScalar circleRadius = 60; in draw() local
14 SkScalar mappedRadius = matrix.mapRadius(circleRadius); in draw()
16 matrix.mapVector(0, circleRadius, &minorAxis); in draw()
17 matrix.mapVector(circleRadius, 0, &majorAxis); in draw()
28 canvas->drawCircle(center.fX, center.fY, circleRadius, paint); in draw()
30 canvas->drawLine(center.fX, center.fY, center.fX + circleRadius, center.fY, paint); in draw()
31 canvas->drawLine(center.fX, center.fY, center.fX, center.fY + circleRadius, paint); in draw()
DMatrix_mapRadius.cpp14 const SkScalar circleRadius = 50;
15 SkScalar mappedRadius = matrix.mapRadius(circleRadius);
17 matrix.mapVector(0, circleRadius, &minorAxis);
18 matrix.mapVector(circleRadius, 0, &majorAxis);
35 canvas->drawCircle(center.fX, center.fY, circleRadius, paint);
37 canvas->drawLine(center.fX, center.fY, center.fX + circleRadius, center.fY, paint);
38 canvas->drawLine(center.fX, center.fY, center.fX, center.fY + circleRadius, paint);
/external/skqp/docs/
DSkMatrix_Reference.bmh2572 const SkScalar circleRadius = 50;
2573 SkScalar mappedRadius = matrix.mapRadius(circleRadius);
2575 matrix.mapVector(0, circleRadius, &minorAxis);
2576 matrix.mapVector(circleRadius, 0, &majorAxis);
2593 canvas->drawCircle(center.fX, center.fY, circleRadius, paint);
2595 canvas->drawLine(center.fX, center.fY, center.fX + circleRadius, center.fY, paint);
2596 canvas->drawLine(center.fX, center.fY, center.fX, center.fY + circleRadius, paint);