Searched refs:surfacePt (Results 1 – 1 of 1) sorted by relevance
42 DERIVED clip(SkISize surfaceDims, SkIPoint* surfacePt) { in clip() argument44 auto rect = SkIRect::MakePtSize(*surfacePt, this->dimensions()); in clip()49 (rect.fTop - surfacePt->fY) * fRowBytes + in clip()50 (rect.fLeft - surfacePt->fX) * fInfo.bpp(); in clip()51 surfacePt->fX = rect.fLeft; in clip()52 surfacePt->fY = rect.fTop; in clip()