Home
last modified time | relevance | path

Searched refs:rightRad (Results 1 – 7 of 7) sorted by relevance

/third_party/flutter/skia/src/core/
DSkRRect.cpp56 SkScalar rightRad, SkScalar bottomRad) { in setNinePatch() argument
61 const SkScalar array[4] = { leftRad, topRad, rightRad, bottomRad }; in setNinePatch()
69 rightRad = SkMaxScalar(rightRad, 0); in setNinePatch()
73 if (leftRad + rightRad > fRect.width()) { in setNinePatch()
74 scale = fRect.width() / (leftRad + rightRad); in setNinePatch()
83 rightRad *= scale; in setNinePatch()
87 if (leftRad == rightRad && topRad == bottomRad) { in setNinePatch()
96 rightRad = 0; in setNinePatch()
106 fRadii[kUpperRight_Corner].set(rightRad, topRad); in setNinePatch()
107 fRadii[kLowerRight_Corner].set(rightRad, bottomRad); in setNinePatch()
/third_party/skia/src/core/
DSkRRect.cpp80 SkScalar rightRad, SkScalar bottomRad) { in setNinePatch() argument
85 const SkScalar array[4] = { leftRad, topRad, rightRad, bottomRad }; in setNinePatch()
93 rightRad = std::max(rightRad, 0.0f); in setNinePatch()
97 if (leftRad + rightRad > fRect.width()) { in setNinePatch()
98 scale = fRect.width() / (leftRad + rightRad); in setNinePatch()
107 rightRad *= scale; in setNinePatch()
111 if (leftRad == rightRad && topRad == bottomRad) { in setNinePatch()
120 rightRad = 0; in setNinePatch()
130 fRadii[kUpperRight_Corner].set(rightRad, topRad); in setNinePatch()
131 fRadii[kLowerRight_Corner].set(rightRad, bottomRad); in setNinePatch()
/third_party/skia/include/core/
DSkRRect.h226 SkScalar rightRad, SkScalar bottomRad);
/third_party/flutter/skia/include/core/
DSkRRect.h249 SkScalar rightRad, SkScalar bottomRad);
/third_party/flutter/skia/site/user/api/
DSkRRect_Reference.md46 …<a href='undocumented#SkScalar'>SkScalar</a> rightRad, <a href='undocumented#SkScalar'>SkScalar</a…
752 …'undocumented#SkScalar'>SkScalar</a> topRad, <a href='undocumented#SkScalar'>SkScalar</a> rightRad,
756 …inePatch_topRad'>topRad</a>), (<a href='#SkRRect_setNinePatch_rightRad'>rightRad</a>, <a href='#Sk…
757 (<a href='#SkRRect_setNinePatch_rightRad'>rightRad</a>, <a href='#SkRRect_setNinePatch_bottomRad'>b…
760 …Patch_leftRad'>leftRad</a> and <a href='#SkRRect_setNinePatch_rightRad'>rightRad</a> are zero, set…
762 …Patch_leftRad'>leftRad</a> and <a href='#SkRRect_setNinePatch_rightRad'>rightRad</a> are equal and…
764 …Patch_leftRad'>leftRad</a> and <a href='#SkRRect_setNinePatch_rightRad'>rightRad</a> are equal, an…
781 …<tr> <td><a name='SkRRect_setNinePatch_rightRad'><code><strong>rightRad</strong></code></a></td>
/third_party/flutter/skia/tools/fiddle/
Ddocumumentation_examples_map.txt3405 void setNinePatch(const SkRect& rect, SkScalar leftRad, SkScalar topRad, SkScalar rightRad, SkScala…
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt3362 void setNinePatch(const SkRect& rect, SkScalar leftRad, SkScalar topRad, SkScalar rightRad, SkScala…