Lines Matching refs:positionRect
179 SkIRect positionRect = SkIRect::MakeLTRB(SkScalarRoundToInt(blobPositionLT->fX), in clip_quads() local
183 if (clipRect.contains(positionRect)) { in clip_quads()
203 int positionRectWidth = positionRect.width(); in clip_quads()
204 int positionRectHeight = positionRect.height(); in clip_quads()
210 delta = SkTMin(SkTMax(clipRect.fLeft - positionRect.fLeft, 0), positionRectWidth); in clip_quads()
212 positionRect.fLeft += delta; in clip_quads()
214 delta = SkTMin(SkTMax(clipRect.fTop - positionRect.fTop, 0), positionRectHeight); in clip_quads()
216 positionRect.fTop += delta; in clip_quads()
218 delta = SkTMin(SkTMax(positionRect.fRight - clipRect.fRight, 0), positionRectWidth); in clip_quads()
220 positionRect.fRight -= delta; in clip_quads()
222 delta = SkTMin(SkTMax(positionRect.fBottom - clipRect.fBottom, 0), positionRectHeight); in clip_quads()
224 positionRect.fBottom -= delta; in clip_quads()
234 currPosition->fX = positionRect.fLeft; in clip_quads()
235 currPosition->fY = positionRect.fTop; in clip_quads()
243 currPosition->fX = positionRect.fLeft; in clip_quads()
244 currPosition->fY = positionRect.fBottom; in clip_quads()
252 currPosition->fX = positionRect.fRight; in clip_quads()
253 currPosition->fY = positionRect.fTop; in clip_quads()
261 currPosition->fX = positionRect.fRight; in clip_quads()
262 currPosition->fY = positionRect.fBottom; in clip_quads()