Lines Matching refs:clippedDstPoint
103 * clippedDstPoint.
110 SkIPoint* clippedDstPoint) {
112 *clippedDstPoint = dstPoint;
116 clippedDstPoint->fX -= clippedSrcRect->fLeft;
119 if (clippedDstPoint->fX < 0) {
120 clippedSrcRect->fLeft -= clippedDstPoint->fX;
121 clippedDstPoint->fX = 0;
126 clippedDstPoint->fY -= clippedSrcRect->fTop;
129 if (clippedDstPoint->fY < 0) {
130 clippedSrcRect->fTop -= clippedDstPoint->fY;
131 clippedDstPoint->fY = 0;
138 if (clippedDstPoint->fX + clippedSrcRect->width() > dstSize.width()) {
139 clippedSrcRect->fRight = clippedSrcRect->fLeft + dstSize.width() - clippedDstPoint->fX;
146 if (clippedDstPoint->fY + clippedSrcRect->height() > dstSize.height()) {
147 clippedSrcRect->fBottom = clippedSrcRect->fTop + dstSize.height() - clippedDstPoint->fY;