Lines Matching refs:rr
18 static bool IsCircle(const SkRRect& rr) { in IsCircle() argument
19 return rr.isOval() && SkScalarNearlyEqual(rr.fRadii[0].fX, rr.fRadii[0].fY); in IsCircle()
22 static SkVector GetSimpleRadii(const SkRRect& rr) { in GetSimpleRadii() argument
23 SkASSERT(!rr.isComplex()); in GetSimpleRadii()
24 return rr.fRadii[0]; in GetSimpleRadii()
27 static bool IsSimpleCircular(const SkRRect& rr) { in IsSimpleCircular() argument
28 return rr.isSimple() && SkScalarNearlyEqual(rr.fRadii[0].fX, rr.fRadii[0].fY); in IsSimpleCircular()
31 static bool EqualRadii(const SkRRect& rr) { in EqualRadii() argument
32 return rr.isRect() || SkRRectPriv::IsCircle(rr) || SkRRectPriv::IsSimpleCircular(rr); in EqualRadii()
35 static const SkVector* GetRadiiArray(const SkRRect& rr) { return rr.fRadii; } in GetRadiiArray() argument
37 static bool AllCornersCircular(const SkRRect& rr, SkScalar tolerance = SK_ScalarNearlyZero);
39 static bool ReadFromBuffer(SkRBuffer* buffer, SkRRect* rr);
41 static void WriteToBuffer(const SkRRect& rr, SkWBuffer* buffer);