Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkRRect.cpp44 fRadii[i].set(xRad, yRad); in setRectXY()
105 fRadii[kUpperLeft_Corner].set(leftRad, topRad); in setNinePatch()
106 fRadii[kUpperRight_Corner].set(rightRad, topRad); in setNinePatch()
107 fRadii[kLowerRight_Corner].set(rightRad, bottomRad); in setNinePatch()
108 fRadii[kLowerLeft_Corner].set(leftRad, bottomRad); in setNinePatch()
153 memcpy(fRadii, radii, sizeof(fRadii)); in setRectRadii()
155 if (clamp_to_zero(fRadii)) { in setRectRadii()
171 memset(fRadii, 0, sizeof(fRadii)); in initializeRect()
207 scale = compute_min_scale(fRadii[0].fX, fRadii[1].fX, width, scale); in scaleRadii()
208 scale = compute_min_scale(fRadii[1].fY, fRadii[2].fY, height, scale); in scaleRadii()
[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()
35 static const SkVector* GetRadiiArray(const SkRRect& rr) { return rr.fRadii; } in GetRadiiArray()
/external/skia/src/core/
DSkRRect.cpp44 fRadii[i].set(xRad, yRad); in setRectXY()
105 fRadii[kUpperLeft_Corner].set(leftRad, topRad); in setNinePatch()
106 fRadii[kUpperRight_Corner].set(rightRad, topRad); in setNinePatch()
107 fRadii[kLowerRight_Corner].set(rightRad, bottomRad); in setNinePatch()
108 fRadii[kLowerLeft_Corner].set(leftRad, bottomRad); in setNinePatch()
153 memcpy(fRadii, radii, sizeof(fRadii)); in setRectRadii()
155 if (clamp_to_zero(fRadii)) { in setRectRadii()
171 memset(fRadii, 0, sizeof(fRadii)); in initializeRect()
207 scale = compute_min_scale(fRadii[0].fX, fRadii[1].fX, width, scale); in scaleRadii()
208 scale = compute_min_scale(fRadii[1].fY, fRadii[2].fY, height, scale); in scaleRadii()
[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()
35 static const SkVector* GetRadiiArray(const SkRRect& rr) { return rr.fRadii; } in GetRadiiArray()
/external/skqp/include/core/
DSkRRect.h129 return fRadii[0]; in getSimpleRadii()
148 memset(fRadii, 0, sizeof(fRadii)); in setRect()
218 fRadii[i].set(xRad, yRad); in setOval()
300 SkVector radii(Corner corner) const { return fRadii[corner]; } in radii()
320 return a.fRect == b.fRect && SkScalarsEqual(&a.fRadii[0].fX, &b.fRadii[0].fX, 8);
333 return a.fRect != b.fRect || !SkScalarsEqual(&a.fRadii[0].fX, &b.fRadii[0].fX, 8);
425 return SkRRect(fRect.makeOffset(dx, dy), fRadii, fType); in makeOffset()
504 , fRadii{radii[0], radii[1], radii[2], radii[3]} in SkRRect()
519 SkVector fRadii[4] = {{0, 0}, {0, 0}, {0,0}, {0,0}}; variable
/external/skia/include/core/
DSkRRect.h107 return fRadii[0]; in getSimpleRadii()
126 memset(fRadii, 0, sizeof(fRadii)); in setRect()
196 fRadii[i].set(xRad, yRad); in setOval()
280 SkVector radii(Corner corner) const { return fRadii[corner]; } in radii()
300 return a.fRect == b.fRect && SkScalarsEqual(&a.fRadii[0].fX, &b.fRadii[0].fX, 8);
313 return a.fRect != b.fRect || !SkScalarsEqual(&a.fRadii[0].fX, &b.fRadii[0].fX, 8);
407 return SkRRect(fRect.makeOffset(dx, dy), fRadii, fType); in makeOffset()
498 , fRadii{radii[0], radii[1], radii[2], radii[3]} in SkRRect()
513 SkVector fRadii[4] = {{0, 0}, {0, 0}, {0,0}, {0,0}}; variable
/external/skqp/src/gpu/effects/
DGrEllipseEffect.h22 const SkPoint& radii() const { return fRadii; } in radii()
42 , fRadii(radii) {} in GrEllipseEffect()
49 SkPoint fRadii; variable
DGrEllipseEffect.cpp119 if (fRadii != that.fRadii) return false; in onIsEqual()
126 , fRadii(src.fRadii) {} in GrEllipseEffect()
/external/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp636 SkVector fRadii[4] = {{r.rx1, r.ry1}, {r.rx2, r.ry2}, in toRRect() local
639 rr.setRectRadii(r.rect, fRadii); in toRRect()