4 {
7 paint.setAntiAlias(
true);
16 matrix.mapVector(0, circleRadius, &minorAxis);
17 matrix.mapVector(circleRadius, 0, &majorAxis);
26 canvas->
drawLine(42 + mappedRadius, 220, 42 + mappedRadius * 2, 220,
paint);
32}
33}
constexpr SkColor SK_ColorRED
constexpr SkColor SK_ColorBLACK
static SkScalar center(float pos0, float pos1)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawLine(SkScalar x0, SkScalar y0, SkScalar x1, SkScalar y1, const SkPaint &paint)
void concat(const SkMatrix &matrix)
void drawCircle(SkScalar cx, SkScalar cy, SkScalar radius, const SkPaint &paint)
@ kStroke_Style
set to stroke geometry
unsigned useCenter Optional< SkMatrix > matrix