Searched refs:clippedDstPoint (Results 1 – 3 of 3) sorted by relevance
21 SkIPoint* clippedDstPoint) { in clip_src_rect_and_dst_point() argument23 *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()[all …]
110 SkIPoint* clippedDstPoint) { in GrClipSrcRectAndDstPoint() argument112 *clippedDstPoint = dstPoint; in GrClipSrcRectAndDstPoint()116 clippedDstPoint->fX -= clippedSrcRect->fLeft; in GrClipSrcRectAndDstPoint()119 if (clippedDstPoint->fX < 0) { in GrClipSrcRectAndDstPoint()120 clippedSrcRect->fLeft -= clippedDstPoint->fX; in GrClipSrcRectAndDstPoint()121 clippedDstPoint->fX = 0; in GrClipSrcRectAndDstPoint()126 clippedDstPoint->fY -= clippedSrcRect->fTop; in GrClipSrcRectAndDstPoint()129 if (clippedDstPoint->fY < 0) { in GrClipSrcRectAndDstPoint()130 clippedSrcRect->fTop -= clippedDstPoint->fY; in GrClipSrcRectAndDstPoint()131 clippedDstPoint->fY = 0; in GrClipSrcRectAndDstPoint()[all …]
443 SkIPoint clippedDstPoint; in blitTexture() local449 &clippedDstPoint)) { in blitTexture()454 auto dstRect = SkIRect::MakePtSize(clippedDstPoint, clippedSrcRect.size()); in blitTexture()