Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkRRect.cpp40 memset(fRadii, 0, sizeof(fRadii)); in setOval()
44 fRadii[i].set(xRad, yRad); in setOval()
77 fRadii[i].set(xRad, yRad); in setRectXY()
138 fRadii[kUpperLeft_Corner].set(leftRad, topRad); in setNinePatch()
139 fRadii[kUpperRight_Corner].set(rightRad, topRad); in setNinePatch()
140 fRadii[kLowerRight_Corner].set(rightRad, bottomRad); in setNinePatch()
141 fRadii[kLowerLeft_Corner].set(leftRad, bottomRad); in setNinePatch()
186 memcpy(fRadii, radii, sizeof(fRadii)); in setRectRadii()
188 if (clamp_to_zero(fRadii)) { in setRectRadii()
209 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()
/external/skia/include/core/
DSkRRect.h112 return fRadii[0]; in getSimpleRadii()
131 memset(fRadii, 0, sizeof(fRadii)); in setRect()
271 SkVector radii(Corner corner) const { return fRadii[corner]; } in radii()
291 return a.fRect == b.fRect && SkScalarsEqual(&a.fRadii[0].fX, &b.fRadii[0].fX, 8);
304 return a.fRect != b.fRect || !SkScalarsEqual(&a.fRadii[0].fX, &b.fRadii[0].fX, 8);
398 return SkRRect(fRect.makeOffset(dx, dy), fRadii, fType); in makeOffset()
490 , fRadii{radii[0], radii[1], radii[2], radii[3]} in SkRRect()
506 SkVector fRadii[4] = {{0, 0}, {0, 0}, {0,0}, {0,0}}; variable
/external/skia/src/gpu/graphite/
DKeyHelpers.h95 fRadii[0] == rhs.fRadii[0] &&
96 fRadii[1] == rhs.fRadii[1] &&
109 float fRadii[2]; member
DKeyHelpers.cpp132 gatherer->write(gradData.fRadii[0]); in add_radial_gradient_uniform_data()
166 gatherer->write(gradData.fRadii[0]); in add_conical_gradient_uniform_data()
167 gatherer->write(gradData.fRadii[1]); in add_conical_gradient_uniform_data()
178 , fRadii{0.0f, 0.0f}
206 fRadii[0] = radius0; in GradientData()
207 fRadii[1] = radius1; in GradientData()