Home
last modified time | relevance | path

Searched refs:yRad (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/skia/src/core/
DSkRRect.cpp13 void SkRRect::setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad) { in setRectXY() argument
19 if (xRad <= 0 || yRad <= 0) { in setRectXY()
25 if (rect.width() < xRad+xRad || rect.height() < yRad+yRad) { in setRectXY()
27 SkScalarDiv(rect.height(), yRad + yRad)); in setRectXY()
30 yRad = SkScalarMul(yRad, scale); in setRectXY()
35 fRadii[i].set(xRad, yRad); in setRectXY()
38 if (xRad >= SkScalarHalf(fRect.width()) && yRad >= SkScalarHalf(fRect.height())) { in setRectXY()
/external/skia/src/core/
DSkRRect.cpp13 void SkRRect::setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad) { in setRectXY() argument
19 if (xRad <= 0 || yRad <= 0) { in setRectXY()
25 if (rect.width() < xRad+xRad || rect.height() < yRad+yRad) { in setRectXY()
27 SkScalarDiv(rect.height(), yRad + yRad)); in setRectXY()
30 yRad = SkScalarMul(yRad, scale); in setRectXY()
35 fRadii[i].set(xRad, yRad); in setRectXY()
38 if (xRad >= SkScalarHalf(fRect.width()) && yRad >= SkScalarHalf(fRect.height())) { in setRectXY()
/external/skia/include/core/
DSkRRect.h148 SkScalar yRad = SkScalarHalf(oval.height()); in setOval() local
152 fRadii[i].set(xRad, yRad); in setOval()
162 void setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad);
/external/chromium_org/third_party/skia/include/core/
DSkRRect.h148 SkScalar yRad = SkScalarHalf(oval.height()); in setOval() local
152 fRadii[i].set(xRad, yRad); in setOval()
162 void setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad);