Searched refs:arcRect (Results 1 – 2 of 2) sorted by relevance
/external/skia/bench/ |
D | PathBench.cpp | 744 SkRect arcRect; in add_corner_arc() local 745 arcRect.set(-rx, -ry, rx, ry); in add_corner_arc() 748 arcRect.offset(rect.fRight - arcRect.fRight, rect.fBottom - arcRect.fBottom); in add_corner_arc() 751 arcRect.offset(rect.fLeft - arcRect.fLeft, rect.fBottom - arcRect.fBottom); in add_corner_arc() 754 arcRect.offset(rect.fLeft - arcRect.fLeft, rect.fTop - arcRect.fTop); in add_corner_arc() 757 arcRect.offset(rect.fRight - arcRect.fRight, rect.fTop - arcRect.fTop); in add_corner_arc() 763 path->arcTo(arcRect, SkIntToScalar(startAngle), SkIntToScalar(90), false); in add_corner_arc()
|
/external/skia/tests/ |
D | PathTest.cpp | 828 SkRect arcRect; in add_corner_arc() local 829 arcRect.set(-rx, -ry, rx, ry); in add_corner_arc() 832 arcRect.offset(rect.fRight - arcRect.fRight, rect.fBottom - arcRect.fBottom); in add_corner_arc() 835 arcRect.offset(rect.fLeft - arcRect.fLeft, rect.fBottom - arcRect.fBottom); in add_corner_arc() 838 arcRect.offset(rect.fLeft - arcRect.fLeft, rect.fTop - arcRect.fTop); in add_corner_arc() 841 arcRect.offset(rect.fRight - arcRect.fRight, rect.fTop - arcRect.fTop); in add_corner_arc() 847 path->arcTo(arcRect, SkIntToScalar(startAngle), SkIntToScalar(90), false); in add_corner_arc()
|