Home
last modified time | relevance | path

Searched refs:fRadii (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/src/core/
DSkRRect.cpp31 memset(fRadii, 0, sizeof(fRadii)); in setOval()
35 fRadii[i].set(xRad, yRad); in setOval()
68 fRadii[i].set(xRad, yRad); in setRectXY()
129 fRadii[kUpperLeft_Corner].set(leftRad, topRad); in setNinePatch()
130 fRadii[kUpperRight_Corner].set(rightRad, topRad); in setNinePatch()
131 fRadii[kLowerRight_Corner].set(rightRad, bottomRad); in setNinePatch()
132 fRadii[kLowerLeft_Corner].set(leftRad, bottomRad); in setNinePatch()
177 memcpy(fRadii, radii, sizeof(fRadii)); in setRectRadii()
179 if (clamp_to_zero(fRadii)) { in setRectRadii()
200 memset(fRadii, 0, sizeof(fRadii)); in initializeRect()
[all …]
DSkRRectPriv.h19 return rr.isOval() && SkScalarNearlyEqual(rr.fRadii[0].fX, rr.fRadii[0].fY); in IsCircle()
24 return rr.fRadii[0]; in GetSimpleRadii()
28 return rr.isSimple() && SkScalarNearlyEqual(rr.fRadii[0].fX, rr.fRadii[0].fY); in IsSimpleCircular()
39 static const SkVector* GetRadiiArray(const SkRRect& rr) { return rr.fRadii; } in GetRadiiArray()
/third_party/skia/include/core/
DSkRRect.h108 return fRadii[0]; in getSimpleRadii()
127 memset(fRadii, 0, sizeof(fRadii)); in setRect()
267 SkVector radii(Corner corner) const { return fRadii[corner]; } in radii()
287 return a.fRect == b.fRect && SkScalarsEqual(&a.fRadii[0].fX, &b.fRadii[0].fX, 8);
300 return a.fRect != b.fRect || !SkScalarsEqual(&a.fRadii[0].fX, &b.fRadii[0].fX, 8);
394 return SkRRect(fRect.makeOffset(dx, dy), fRadii, fType); in makeOffset()
493 , fRadii{radii[0], radii[1], radii[2], radii[3]} in SkRRect()
509 SkVector fRadii[4] = {{0, 0}, {0, 0}, {0,0}, {0,0}}; variable