Lines Matching refs:SkRRect
30 kTopLeft_CornerFlag = (1 << SkRRect::kUpperLeft_Corner),
31 kTopRight_CornerFlag = (1 << SkRRect::kUpperRight_Corner),
32 kBottomRight_CornerFlag = (1 << SkRRect::kLowerRight_Corner),
33 kBottomLeft_CornerFlag = (1 << SkRRect::kLowerLeft_Corner),
49 const SkRRect&);
55 const SkRRect& getRRect() const { return fRRect; } in getRRect()
62 CircularRRectEffect(GrPrimitiveEdgeType, uint32_t circularCornerFlags, const SkRRect&);
72 SkRRect fRRect;
83 const SkRRect& rrect) { in Create()
95 const SkRRect& rrect) in CircularRRectEffect()
117 SkRRect rrect; in TestCreate()
146 SkRRect fPrevRRect;
298 const SkRRect& rrect = crre.getRRect(); in onSetData()
310 radius = rrect.radii(SkRRect::kUpperLeft_Corner).fX; in onSetData()
317 radius = rrect.radii(SkRRect::kUpperRight_Corner).fX; in onSetData()
324 radius = rrect.radii(SkRRect::kLowerRight_Corner).fX; in onSetData()
331 radius = rrect.radii(SkRRect::kLowerLeft_Corner).fX; in onSetData()
338 radius = rrect.radii(SkRRect::kUpperLeft_Corner).fX; in onSetData()
345 radius = rrect.radii(SkRRect::kUpperLeft_Corner).fX; in onSetData()
352 radius = rrect.radii(SkRRect::kUpperRight_Corner).fX; in onSetData()
359 radius = rrect.radii(SkRRect::kLowerLeft_Corner).fX; in onSetData()
390 static GrFragmentProcessor* Create(GrPrimitiveEdgeType, const SkRRect&);
396 const SkRRect& getRRect() const { return fRRect; } in getRRect()
401 EllipticalRRectEffect(GrPrimitiveEdgeType, const SkRRect&);
411 SkRRect fRRect;
420 EllipticalRRectEffect::Create(GrPrimitiveEdgeType edgeType, const SkRRect& rrect) { in Create()
431 EllipticalRRectEffect::EllipticalRRectEffect(GrPrimitiveEdgeType edgeType, const SkRRect& rrect) in EllipticalRRectEffect()
451 r[SkRRect::kUpperLeft_Corner].fX = d->fRandom->nextRangeF(kRadiusMin, 9.f); in TestCreate()
454 r[SkRRect::kUpperLeft_Corner].fY = d->fRandom->nextRangeF(kRadiusMin, 9.f); in TestCreate()
455 } while (r[SkRRect::kUpperLeft_Corner].fY == r[SkRRect::kUpperLeft_Corner].fX); in TestCreate()
457 SkRRect rrect; in TestCreate()
460 r[SkRRect::kLowerRight_Corner].fX = d->fRandom->nextRangeF(kRadiusMin, 9.f); in TestCreate()
461 r[SkRRect::kLowerRight_Corner].fY = d->fRandom->nextRangeF(kRadiusMin, 9.f); in TestCreate()
463 r[SkRRect::kUpperRight_Corner].fX = r[SkRRect::kLowerRight_Corner].fX; in TestCreate()
464 r[SkRRect::kUpperRight_Corner].fY = r[SkRRect::kUpperLeft_Corner].fY; in TestCreate()
466 r[SkRRect::kLowerLeft_Corner].fX = r[SkRRect::kUpperLeft_Corner].fX; in TestCreate()
467 r[SkRRect::kLowerLeft_Corner].fY = r[SkRRect::kLowerRight_Corner].fY; in TestCreate()
471 rrect.setRectXY(SkRect::MakeWH(w, h), r[SkRRect::kUpperLeft_Corner].fX, in TestCreate()
472 r[SkRRect::kUpperLeft_Corner].fY); in TestCreate()
502 SkRRect fPrevRRect;
545 case SkRRect::kSimple_Type: { in emitCode()
560 case SkRRect::kNinePatch_Type: { in emitCode()
614 const SkRRect& rrect = erre.getRRect(); in onSetData()
619 const SkVector& r0 = rrect.radii(SkRRect::kUpperLeft_Corner); in onSetData()
623 case SkRRect::kSimple_Type: in onSetData()
638 case SkRRect::kNinePatch_Type: { in onSetData()
639 const SkVector& r1 = rrect.radii(SkRRect::kLowerRight_Corner); in onSetData()
683 GrFragmentProcessor* GrRRectEffect::Create(GrPrimitiveEdgeType edgeType, const SkRRect& rrect) { in Create()
714 radii[c] = rrect.radii((SkRRect::Corner)c); in Create()
754 SkTCopyOnFirstWrite<SkRRect> rr(rrect); in Create()