Lines Matching defs:center

94 // The center of the fan handles the curve of the corner. For roundrects where the stroke width
99 // blur radius (overstroke), we add additional geometry to mark out the rectangle in the center.
100 // This rectangle extends the coverage values of the center edges of the 9-patch.
109 // For filled rrects we reuse the stroke geometry but add an additional quad to the center.
281 SkPoint center = SkPoint::Make(bounds.centerX(), bounds.centerY());
285 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, -halfWidth);
291 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, -halfWidth);
297 (*verts)->fPos = center + SkPoint::Make(halfWidth, -octOffset * halfWidth);
303 (*verts)->fPos = center + SkPoint::Make(halfWidth, octOffset * halfWidth);
309 (*verts)->fPos = center + SkPoint::Make(octOffset * halfWidth, halfWidth);
315 (*verts)->fPos = center + SkPoint::Make(-octOffset * halfWidth, halfWidth);
321 (*verts)->fPos = center + SkPoint::Make(-halfWidth, octOffset * halfWidth);
327 (*verts)->fPos = center + SkPoint::Make(-halfWidth, -octOffset * halfWidth);
341 (*verts)->fPos = center + SkPoint::Make(-s * r, -c * r);
347 (*verts)->fPos = center + SkPoint::Make(s * r, -c * r);
353 (*verts)->fPos = center + SkPoint::Make(c * r, -s * r);
359 (*verts)->fPos = center + SkPoint::Make(c * r, s * r);
365 (*verts)->fPos = center + SkPoint::Make(s * r, c * r);
371 (*verts)->fPos = center + SkPoint::Make(-s * r, c * r);
377 (*verts)->fPos = center + SkPoint::Make(-c * r, s * r);
383 (*verts)->fPos = center + SkPoint::Make(-c * r, -s * r);
390 (*verts)->fPos = center;
488 // parameters equal to those in the center of the 9-patch. This will