Searched refs:positionRect (Results 1 – 1 of 1) sorted by relevance
183 SkIRect positionRect = SkIRect::MakeLTRB(SkScalarRoundToInt(blobPositionLT->fX), in clip_quads() local187 if (clipRect.contains(positionRect)) { in clip_quads()216 int positionRectWidth = positionRect.width(); in clip_quads()217 int positionRectHeight = positionRect.height(); in clip_quads()223 delta = SkTMin(SkTMax(clipRect.fLeft - positionRect.fLeft, 0), positionRectWidth); in clip_quads()225 positionRect.fLeft += delta; in clip_quads()227 delta = SkTMin(SkTMax(clipRect.fTop - positionRect.fTop, 0), positionRectHeight); in clip_quads()229 positionRect.fTop += delta; in clip_quads()231 delta = SkTMin(SkTMax(positionRect.fRight - clipRect.fRight, 0), positionRectWidth); in clip_quads()233 positionRect.fRight -= delta; in clip_quads()[all …]