Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkRRect.cpp41 fRadii[i].set(xRad, yRad); in setRectXY()
106 fRadii[kUpperLeft_Corner].set(leftRad, topRad); in setNinePatch()
107 fRadii[kUpperRight_Corner].set(rightRad, topRad); in setNinePatch()
108 fRadii[kLowerRight_Corner].set(rightRad, bottomRad); in setNinePatch()
109 fRadii[kLowerLeft_Corner].set(leftRad, bottomRad); in setNinePatch()
138 memcpy(fRadii, radii, sizeof(fRadii)); in setRectRadii()
144 if (fRadii[i].fX <= 0 || fRadii[i].fY <= 0) { in setRectRadii()
149 fRadii[i].fX = 0; in setRectRadii()
150 fRadii[i].fY = 0; in setRectRadii()
181 scale = compute_min_scale(fRadii[0].fX, fRadii[1].fX, width, scale); in scaleRadii()
[all …]
/external/skia/include/core/
DSkRRect.h105 return this->isSimple() && SkScalarNearlyEqual(fRadii[0].fX, fRadii[0].fY); in isSimpleCircular()
108 return this->isOval() && SkScalarNearlyEqual(fRadii[0].fX, fRadii[0].fY); in isCircle()
123 memset(fRadii, 0, sizeof(fRadii)); in setEmpty()
141 memset(fRadii, 0, sizeof(fRadii)); in setRect()
188 fRadii[i].set(xRad, yRad); in setOval()
220 const SkVector& radii(Corner corner) const { return fRadii[corner]; } in radii()
229 return fRadii[0]; in getSimpleRadii()
234 SkScalarsEqual(a.fRadii[0].asScalars(),
235 b.fRadii[0].asScalars(), 8);
240 !SkScalarsEqual(a.fRadii[0].asScalars(),
[all …]
/external/skia/src/gpu/effects/
DGrEllipseEffect.h23 SkPoint radii() const { return fRadii; } in radii()
34 , fRadii(radii) { in GrEllipseEffect()
43 SkPoint fRadii; variable
DGrEllipseEffect.cpp110 if (fRadii != that.fRadii) return false; in onIsEqual()