Home
last modified time | relevance | path

Searched refs:bottomRad (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()
70 bottomRad = SkMaxScalar(bottomRad, 0); in setNinePatch()
76 if (topRad + bottomRad > fRect.height()) { in setNinePatch()
77 scale = SkMinScalar(scale, fRect.height() / (topRad + bottomRad)); in setNinePatch()
84 bottomRad *= scale; in setNinePatch()
87 if (leftRad == rightRad && topRad == bottomRad) { in setNinePatch()
97 bottomRad = 0; in setNinePatch()
107 fRadii[kLowerRight_Corner].set(rightRad, bottomRad); in setNinePatch()
108 fRadii[kLowerLeft_Corner].set(leftRad, 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()
94 bottomRad = std::max(bottomRad, 0.0f); in setNinePatch()
100 if (topRad + bottomRad > fRect.height()) { in setNinePatch()
101 scale = std::min(scale, fRect.height() / (topRad + bottomRad)); in setNinePatch()
108 bottomRad *= scale; in setNinePatch()
111 if (leftRad == rightRad && topRad == bottomRad) { in setNinePatch()
121 bottomRad = 0; in setNinePatch()
131 fRadii[kLowerRight_Corner].set(rightRad, bottomRad); in setNinePatch()
132 fRadii[kLowerLeft_Corner].set(leftRad, 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 …ocumented#SkScalar'>SkScalar</a> rightRad, <a href='undocumented#SkScalar'>SkScalar</a> bottomRad);
753 <a href='undocumented#SkScalar'>SkScalar</a> bottomRad)
757 …atch_bottomRad'>bottomRad</a>), (<a href='#SkRRect_setNinePatch_leftRad'>leftRad</a>, <a href='#Sk…
761 …ePatch_topRad'>topRad</a> and <a href='#SkRRect_setNinePatch_bottomRad'>bottomRad</a> are zero, se…
763 …ePatch_topRad'>topRad</a> and <a href='#SkRRect_setNinePatch_bottomRad'>bottomRad</a> are equal at…
764 …NinePatch_topRad'>topRad</a> and <a href='#SkRRect_setNinePatch_bottomRad'>bottomRad</a> are equal,
784 …<tr> <td><a name='SkRRect_setNinePatch_bottomRad'><code><strong>bottomRad</strong></code></a></…
/third_party/flutter/skia/tools/fiddle/
Ddocumumentation_examples_map.txt3405 …atch(const SkRect& rect, SkScalar leftRad, SkScalar topRad, SkScalar rightRad, SkScalar bottomRad);
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt3362 …atch(const SkRect& rect, SkScalar leftRad, SkScalar topRad, SkScalar rightRad, SkScalar bottomRad);