Searched refs:maxSide (Results 1 – 1 of 1) sorted by relevance
/external/skia/samplecode/ |
D | SampleQuadStroker.cpp | 466 SkScalar maxSide = SkTMax(rect.width(), rect.height()) / 2; in draw_fill() local 467 SkPoint center = { rect.fLeft + maxSide, rect.fTop + maxSide }; in draw_fill() 468 path.addCircle(center.fX, center.fY, maxSide); in draw_fill() 472 path.addCircle(center.fX, center.fY, maxSide - width / 2); in draw_fill() 477 path.addCircle(center.fX, center.fY, maxSide + width / 2); in draw_fill() 478 SkRect outside = SkRect::MakeXYWH(center.fX - maxSide - width, center.fY - maxSide - width, in draw_fill() 479 (maxSide + width) * 2, (maxSide + width) * 2); in draw_fill()
|