Lines Matching refs:positionRect
182 SkIRect positionRect = SkIRect::MakeLTRB(SkScalarRoundToInt(blobPositionLT->fX), in clip_quads() local
186 if (clipRect.contains(positionRect)) { in clip_quads()
206 int positionRectWidth = positionRect.width(); in clip_quads()
207 int positionRectHeight = positionRect.height(); in clip_quads()
213 delta = SkTMin(SkTMax(clipRect.fLeft - positionRect.fLeft, 0), positionRectWidth); in clip_quads()
215 positionRect.fLeft += delta; in clip_quads()
217 delta = SkTMin(SkTMax(clipRect.fTop - positionRect.fTop, 0), positionRectHeight); in clip_quads()
219 positionRect.fTop += delta; in clip_quads()
221 delta = SkTMin(SkTMax(positionRect.fRight - clipRect.fRight, 0), positionRectWidth); in clip_quads()
223 positionRect.fRight -= delta; in clip_quads()
225 delta = SkTMin(SkTMax(positionRect.fBottom - clipRect.fBottom, 0), positionRectHeight); in clip_quads()
227 positionRect.fBottom -= delta; in clip_quads()
237 currPosition->fX = positionRect.fLeft; in clip_quads()
238 currPosition->fY = positionRect.fTop; in clip_quads()
246 currPosition->fX = positionRect.fLeft; in clip_quads()
247 currPosition->fY = positionRect.fBottom; in clip_quads()
255 currPosition->fX = positionRect.fRight; in clip_quads()
256 currPosition->fY = positionRect.fTop; in clip_quads()
264 currPosition->fX = positionRect.fRight; in clip_quads()
265 currPosition->fY = positionRect.fBottom; in clip_quads()