Searched refs:yRad (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/src/core/ |
D | SkRRect.cpp | 27 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/ |
D | filterfastbounds.cpp | 48 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/ |
D | SkRRect.h | 176 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/ |
D | Canvas.java | 87 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/ |
D | Canvas.cpp | 113 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/ |
D | documumentation_examples_map.txt | 3230 static SkRRect MakeRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad); 3378 void setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad);
|