Home
last modified time | relevance | path

Searched refs:arcRect (Results 1 – 2 of 2) sorted by relevance

/external/skia/bench/
DPathBench.cpp656 SkRect arcRect; in add_corner_arc() local
657 arcRect.set(-rx, -ry, rx, ry); in add_corner_arc()
660 arcRect.offset(rect.fRight - arcRect.fRight, rect.fBottom - arcRect.fBottom); in add_corner_arc()
663 arcRect.offset(rect.fLeft - arcRect.fLeft, rect.fBottom - arcRect.fBottom); in add_corner_arc()
666 arcRect.offset(rect.fLeft - arcRect.fLeft, rect.fTop - arcRect.fTop); in add_corner_arc()
669 arcRect.offset(rect.fRight - arcRect.fRight, rect.fTop - arcRect.fTop); in add_corner_arc()
675 path->arcTo(arcRect, SkIntToScalar(startAngle), SkIntToScalar(90), false); in add_corner_arc()
/external/skia/tests/
DPathTest.cpp569 SkRect arcRect; in add_corner_arc() local
570 arcRect.set(-rx, -ry, rx, ry); in add_corner_arc()
573 arcRect.offset(rect.fRight - arcRect.fRight, rect.fBottom - arcRect.fBottom); in add_corner_arc()
576 arcRect.offset(rect.fLeft - arcRect.fLeft, rect.fBottom - arcRect.fBottom); in add_corner_arc()
579 arcRect.offset(rect.fLeft - arcRect.fLeft, rect.fTop - arcRect.fTop); in add_corner_arc()
582 arcRect.offset(rect.fRight - arcRect.fRight, rect.fTop - arcRect.fTop); in add_corner_arc()
588 path->arcTo(arcRect, SkIntToScalar(startAngle), SkIntToScalar(90), false); in add_corner_arc()