Lines Matching refs:edges
254 SkScalar edges[3 * kMaxEdges]; in Create() local
273 edges[3 * n] = v.fY; in Create()
274 edges[3 * n + 1] = -v.fX; in Create()
276 edges[3 * n] = -v.fY; in Create()
277 edges[3 * n + 1] = v.fX; in Create()
280 edges[3 * n + 2] = -(edges[3 * n] * p.fX + edges[3 * n + 1] * p.fY); in Create()
287 return Create(type, n, edges); in Create()
312 GrConvexPolyEffect::GrConvexPolyEffect(GrPrimitiveEdgeType edgeType, int n, const SkScalar edges[]) in GrConvexPolyEffect() argument
318 memcpy(fEdges, edges, 3 * n * sizeof(SkScalar)); in GrConvexPolyEffect()
340 SkScalar edges[kMaxEdges * 3]; in TestCreate() local
342 edges[i] = d->fRandom->nextSScalar1(); in TestCreate()
349 fp = GrConvexPolyEffect::Create(edgeType, count, edges); in TestCreate()