Lines Matching refs:rect
162 // The inner rect is the rrect bounds inset by the radius. Its left, top, right, and bottom
164 // only rectangular corners, that side's value corresponds to the rect edge's value outset by
196 // computations, compute a separate rect edge alpha for the rect side, and mul the two computed
299 SkRect rect = rrect.getBounds();
306 rect.inset(radius, radius);
310 rect.fLeft += radius;
311 rect.fTop += radius;
312 rect.fRight += 0.5f;
313 rect.fBottom += 0.5f;
317 rect.fLeft -= 0.5f;
318 rect.fTop += radius;
319 rect.fRight -= radius;
320 rect.fBottom += 0.5f;
324 rect.fLeft -= 0.5f;
325 rect.fTop -= 0.5f;
326 rect.fRight -= radius;
327 rect.fBottom -= radius;
331 rect.fLeft += radius;
332 rect.fTop -= 0.5f;
333 rect.fRight += 0.5f;
334 rect.fBottom -= radius;
338 rect.fLeft += radius;
339 rect.fTop += radius;
340 rect.fRight += 0.5f;
341 rect.fBottom -= radius;
345 rect.fLeft += radius;
346 rect.fTop += radius;
347 rect.fRight -= radius;
348 rect.fBottom += 0.5f;
352 rect.fLeft -= 0.5f;
353 rect.fTop += radius;
354 rect.fRight -= radius;
355 rect.fBottom -= radius;
359 rect.fLeft += radius;
360 rect.fTop -= 0.5f;
361 rect.fRight -= radius;
362 rect.fBottom -= radius;
367 pdman.set4f(fInnerRectUniform, rect.fLeft, rect.fTop, rect.fRight, rect.fBottom);
524 // The inner rect is the rrect bounds inset by the x/y radii
622 SkRect rect = rrect.getBounds();
628 rect.inset(r0.fX, r0.fY);
646 rect.fLeft += r0.fX;
647 rect.fTop += r0.fY;
648 rect.fRight -= r1.fX;
649 rect.fBottom -= r1.fY;
669 pdman.set4f(fInnerRectUniform, rect.fLeft, rect.fTop, rect.fRight, rect.fBottom);