Lines Matching refs:center
23 static sk_sp<GrFragmentProcessor> Make(GrPrimitiveEdgeType, const SkPoint& center,
36 CircleEffect(GrPrimitiveEdgeType, const SkPoint& center, SkScalar radius);
53 sk_sp<GrFragmentProcessor> CircleEffect::Make(GrPrimitiveEdgeType edgeType, const SkPoint& center, in Make() argument
56 return sk_sp<GrFragmentProcessor>(new CircleEffect(edgeType, center, radius)); in Make()
78 SkPoint center; in TestCreate() local
79 center.fX = d->fRandom->nextRangeScalar(0.f, 1000.f); in TestCreate()
80 center.fY = d->fRandom->nextRangeScalar(0.f, 1000.f); in TestCreate()
86 return CircleEffect::Make(et, center, radius); in TestCreate()
185 static sk_sp<GrFragmentProcessor> Make(GrPrimitiveEdgeType, const SkPoint& center,
198 EllipseEffect(GrPrimitiveEdgeType, const SkPoint& center, SkScalar rx, SkScalar ry);
216 const SkPoint& center, in Make() argument
220 return sk_sp<GrFragmentProcessor>(new EllipseEffect(edgeType, center, rx, ry)); in Make()
243 SkPoint center; in TestCreate() local
244 center.fX = d->fRandom->nextRangeScalar(0.f, 1000.f); in TestCreate()
245 center.fY = d->fRandom->nextRangeScalar(0.f, 1000.f); in TestCreate()
252 return EllipseEffect::Make(et, center, rx, ry); in TestCreate()