/external/skqp/include/core/ |
D | SkRRect.h | 197 static SkRRect MakeRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad) { in MakeRectXY() argument 199 rr.setRectXY(rect, xRad, yRad); in MakeRectXY() 215 SkScalar yRad = SkScalarHalf(fRect.height()); in setOval() local 218 fRadii[i].set(xRad, yRad); in setOval() 236 void setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad);
|
/external/skia/include/core/ |
D | SkRRect.h | 197 static SkRRect MakeRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad) { in MakeRectXY() argument 199 rr.setRectXY(rect, xRad, yRad); in MakeRectXY() 215 SkScalar yRad = SkScalarHalf(fRect.height()); in setOval() local 218 fRadii[i].set(xRad, yRad); in setOval() 236 void setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad);
|
/external/skqp/src/core/ |
D | SkRRect.cpp | 19 void SkRRect::setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad) { in setRectXY() argument 24 if (!SkScalarsAreFinite(xRad, yRad)) { in setRectXY() 25 xRad = yRad = 0; // devolve into a simple rect in setRectXY() 28 if (fRect.width() < xRad+xRad || fRect.height() < yRad+yRad) { in setRectXY() 31 sk_ieee_float_divide(fRect.height(), yRad + yRad)); in setRectXY() 34 yRad *= scale; in setRectXY() 37 if (xRad <= 0 || yRad <= 0) { in setRectXY() 44 fRadii[i].set(xRad, yRad); in setRectXY() 47 if (xRad >= SkScalarHalf(fRect.width()) && yRad >= SkScalarHalf(fRect.height())) { in setRectXY()
|
/external/skia/src/core/ |
D | SkRRect.cpp | 19 void SkRRect::setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad) { in setRectXY() argument 24 if (!SkScalarsAreFinite(xRad, yRad)) { in setRectXY() 25 xRad = yRad = 0; // devolve into a simple rect in setRectXY() 28 if (fRect.width() < xRad+xRad || fRect.height() < yRad+yRad) { in setRectXY() 31 sk_ieee_float_divide(fRect.height(), yRad + yRad)); in setRectXY() 34 yRad *= scale; in setRectXY() 37 if (xRad <= 0 || yRad <= 0) { in setRectXY() 44 fRadii[i].set(xRad, yRad); in setRectXY() 47 if (xRad >= SkScalarHalf(fRect.width()) && yRad >= SkScalarHalf(fRect.height())) { in setRectXY()
|
/external/skia/gm/ |
D | filterfastbounds.cpp | 35 SkScalar yRad = r.height() / 4.0f; in draw_rrect() local 38 rr.setRectXY(r, xRad, yRad); in draw_rrect() 44 SkScalar yRad = r.height() / 4.0f; in draw_drrect() local 47 outer.setRectXY(r, xRad, yRad); in draw_drrect() 49 inner.inset(xRad, yRad); in draw_drrect()
|
/external/skqp/gm/ |
D | filterfastbounds.cpp | 35 SkScalar yRad = r.height() / 4.0f; in draw_rrect() local 38 rr.setRectXY(r, xRad, yRad); in draw_rrect() 44 SkScalar yRad = r.height() / 4.0f; in draw_drrect() local 47 outer.setRectXY(r, xRad, yRad); in draw_drrect() 49 inner.inset(xRad, yRad); in draw_drrect()
|
/external/skqp/samplecode/ |
D | SamplePathFuzz.cpp | 340 SkScalar yRad = makeScalar(); in makeRRect() local 341 rrect.setRectXY(rect, xRad, yRad); in makeRRect()
|
/external/skia/site/user/api/ |
D | SkRRect_Reference.md | 42 …href='undocumented#SkScalar'>SkScalar</a> xRad, <a href='undocumented#SkScalar'>SkScalar</a> yRad); 44 …href='undocumented#SkScalar'>SkScalar</a> xRad, <a href='undocumented#SkScalar'>SkScalar</a> yRad); 649 … href='undocumented#SkScalar'>SkScalar</a> xRad, <a href='undocumented#SkScalar'>SkScalar</a> yRad) 654 …#SkRRect_MakeRectXY_xRad'>xRad</a> and <a href='#SkRRect_MakeRectXY_yRad'>yRad</a> are zero, sets … 655 …a href='#SkRect_width'>width()</a> and <a href='#SkRRect_MakeRectXY_yRad'>yRad</a> is at least half 667 <tr> <td><a name='SkRRect_MakeRectXY_yRad'><code><strong>yRad</strong></code></a></td> 716 … href='undocumented#SkScalar'>SkScalar</a> xRad, <a href='undocumented#SkScalar'>SkScalar</a> yRad) 721 Otherwise, if <a href='#SkRRect_setRectXY_xRad'>xRad</a> or <a href='#SkRRect_setRectXY_yRad'>yRad<… 722 …<a href='#SkRect_width'>width()</a> and <a href='#SkRRect_setRectXY_yRad'>yRad</a> is at least half 734 <tr> <td><a name='SkRRect_setRectXY_yRad'><code><strong>yRad</strong></code></a></td>
|
/external/skqp/site/user/api/ |
D | SkRRect_Reference.md | 42 …href='undocumented#SkScalar'>SkScalar</a> xRad, <a href='undocumented#SkScalar'>SkScalar</a> yRad); 44 …href='undocumented#SkScalar'>SkScalar</a> xRad, <a href='undocumented#SkScalar'>SkScalar</a> yRad); 649 … href='undocumented#SkScalar'>SkScalar</a> xRad, <a href='undocumented#SkScalar'>SkScalar</a> yRad) 654 …#SkRRect_MakeRectXY_xRad'>xRad</a> and <a href='#SkRRect_MakeRectXY_yRad'>yRad</a> are zero, sets … 655 …a href='#SkRect_width'>width()</a> and <a href='#SkRRect_MakeRectXY_yRad'>yRad</a> is at least half 667 <tr> <td><a name='SkRRect_MakeRectXY_yRad'><code><strong>yRad</strong></code></a></td> 716 … href='undocumented#SkScalar'>SkScalar</a> xRad, <a href='undocumented#SkScalar'>SkScalar</a> yRad) 721 Otherwise, if <a href='#SkRRect_setRectXY_xRad'>xRad</a> or <a href='#SkRRect_setRectXY_yRad'>yRad<… 722 …<a href='#SkRect_width'>width()</a> and <a href='#SkRRect_setRectXY_yRad'>yRad</a> is at least half 734 <tr> <td><a name='SkRRect_setRectXY_yRad'><code><strong>yRad</strong></code></a></td>
|
/external/skqp/docs/ |
D | SkRRect_Reference.bmh | 40 static SkRRect MakeRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad); 42 void setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad); 681 #Method static SkRRect MakeRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad) 725 #Method void setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad)
|
/external/skia/docs/ |
D | SkRRect_Reference.bmh | 40 static SkRRect MakeRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad); 42 void setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad); 681 #Method static SkRRect MakeRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad) 725 #Method void setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad)
|