Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkRRect.cpp27 SkScalar yRad = SkRectPriv::HalfHeight(fRect); in setOval() local
29 if (xRad == 0.0f || yRad == 0.0f) { in setOval()
35 fRadii[i].set(xRad, yRad); in setOval()
43 void SkRRect::setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad) { in setRectXY() argument
48 if (!SkScalarsAreFinite(xRad, yRad)) { in setRectXY()
49 xRad = yRad = 0; // devolve into a simple rect in setRectXY()
52 if (fRect.width() < xRad+xRad || fRect.height() < yRad+yRad) { in setRectXY()
55 sk_ieee_float_divide(fRect.height(), yRad + yRad)); in setRectXY()
58 yRad *= scale; in setRectXY()
61 if (xRad <= 0 || yRad <= 0) { in setRectXY()
[all …]
/third_party/skia/gm/
Dfilterfastbounds.cpp48 SkScalar yRad = r.height() / 4.0f; in draw_rrect() local
51 rr.setRectXY(r, xRad, yRad); in draw_rrect()
57 SkScalar yRad = r.height() / 4.0f; in draw_drrect() local
60 outer.setRectXY(r, xRad, yRad); in draw_drrect()
62 inner.inset(xRad, yRad); in draw_drrect()
/third_party/skia/include/core/
DSkRRect.h176 static SkRRect MakeRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad) { in MakeRectXY() argument
178 rr.setRectXY(rect, xRad, yRad); in MakeRectXY()
203 void setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad);
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
DCanvas.java87 public void clipRRect(float left, float top, float right, float bottom, float xRad, float yRad, in clipRRect() argument
89 … nClipRRect(mNativeInstance, left, top, right, bottom, xRad, yRad, op.mNativeInt, antiAliasing); in clipRRect()
178 float bottom, float xRad, float yRad, in nClipRRect() argument
/third_party/skia/modules/androidkit/src/
DCanvas.cpp113 jfloat xRad, jfloat yRad, in Canvas_ClipRRect() argument
116 canvas->clipRRect(SkRRect::MakeRectXY(SkRect::MakeLTRB(l, t, r, b), xRad, yRad), in Canvas_ClipRRect()
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt3230 static SkRRect MakeRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad);
3378 void setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad);