Lines Matching refs:clippedDstPoint
822 SkIPoint* clippedDstPoint) {
824 *clippedDstPoint = dstPoint;
828 clippedDstPoint->fX -= clippedSrcRect->fLeft;
831 if (clippedDstPoint->fX < 0) {
832 clippedSrcRect->fLeft -= clippedDstPoint->fX;
833 clippedDstPoint->fX = 0;
838 clippedDstPoint->fY -= clippedSrcRect->fTop;
841 if (clippedDstPoint->fY < 0) {
842 clippedSrcRect->fTop -= clippedDstPoint->fY;
843 clippedDstPoint->fY = 0;
850 if (clippedDstPoint->fX + clippedSrcRect->width() > dst->width()) {
851 clippedSrcRect->fRight = clippedSrcRect->fLeft + dst->width() - clippedDstPoint->fX;
858 if (clippedDstPoint->fY + clippedSrcRect->height() > dst->height()) {
859 clippedSrcRect->fBottom = clippedSrcRect->fTop + dst->height() - clippedDstPoint->fY;
876 SkIPoint clippedDstPoint;
883 &clippedDstPoint)) {
888 bool result = this->onCopySurface(dst, src, clippedSrcRect, clippedDstPoint);
889 SkASSERT(result == this->canCopySurface(dst, src, clippedSrcRect, clippedDstPoint));
901 SkIPoint clippedDstPoint;
908 &clippedDstPoint)) {
911 return this->onCanCopySurface(dst, src, clippedSrcRect, clippedDstPoint);