Lines Matching refs:clippedDstPoint
21 SkIPoint* clippedDstPoint) { in clip_src_rect_and_dst_point() argument
23 *clippedDstPoint = dstPoint; in clip_src_rect_and_dst_point()
27 clippedDstPoint->fX -= clippedSrcRect->fLeft; in clip_src_rect_and_dst_point()
30 if (clippedDstPoint->fX < 0) { in clip_src_rect_and_dst_point()
31 clippedSrcRect->fLeft -= clippedDstPoint->fX; in clip_src_rect_and_dst_point()
32 clippedDstPoint->fX = 0; in clip_src_rect_and_dst_point()
37 clippedDstPoint->fY -= clippedSrcRect->fTop; in clip_src_rect_and_dst_point()
40 if (clippedDstPoint->fY < 0) { in clip_src_rect_and_dst_point()
41 clippedSrcRect->fTop -= clippedDstPoint->fY; in clip_src_rect_and_dst_point()
42 clippedDstPoint->fY = 0; in clip_src_rect_and_dst_point()
49 if (clippedDstPoint->fX + clippedSrcRect->width() > dst->width()) { in clip_src_rect_and_dst_point()
50 clippedSrcRect->fRight = clippedSrcRect->fLeft + dst->width() - clippedDstPoint->fX; in clip_src_rect_and_dst_point()
57 if (clippedDstPoint->fY + clippedSrcRect->height() > dst->height()) { in clip_src_rect_and_dst_point()
58 clippedSrcRect->fBottom = clippedSrcRect->fTop + dst->height() - clippedDstPoint->fY; in clip_src_rect_and_dst_point()
74 SkIPoint clippedDstPoint; in Make() local
77 &clippedSrcRect, &clippedDstPoint)) { in Make()
86 return pool->allocate<GrCopySurfaceOp>(dstProxy, srcProxy, clippedSrcRect, clippedDstPoint); in Make()