Searched refs:rightRad (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/core/ |
D | SkRRect.cpp | 49 SkScalar rightRad, SkScalar bottomRad) { in setNinePatch() argument 55 const SkScalar array[4] = { leftRad, topRad, rightRad, bottomRad }; in setNinePatch() 63 rightRad = SkMaxScalar(rightRad, 0); in setNinePatch() 67 if (leftRad + rightRad > rect.width()) { in setNinePatch() 68 scale = rect.width() / (leftRad + rightRad); in setNinePatch() 77 rightRad = SkScalarMul(rightRad, scale); in setNinePatch() 81 if (leftRad == rightRad && topRad == bottomRad) { in setNinePatch() 90 rightRad = 0; in setNinePatch() 101 fRadii[kUpperRight_Corner].set(rightRad, topRad); in setNinePatch() 102 fRadii[kLowerRight_Corner].set(rightRad, bottomRad); in setNinePatch()
|
/external/skia/include/core/ |
D | SkRRect.h | 168 SkScalar rightRad, SkScalar bottomRad);
|
/external/skia/samplecode/ |
D | SamplePathFuzz.cpp | 347 SkScalar rightRad = makeScalar(); in makeRRect() local 349 rrect.setNinePatch(rect, leftRad, topRad, rightRad, bottomRad); in makeRRect()
|