Changeset View
Changeset View
Standalone View
Standalone View
libs/image/kis_painter.cc
Context not available. | |||||
464 | 464 | | |||
---|---|---|---|---|---|
465 | if (srcRect->isEmpty()) return true; | 465 | if (srcRect->isEmpty()) return true; | ||
466 | 466 | | |||
467 | // Readjust the function paramenters to the new dimensions. | 467 | // Readjust the function parameters to the new dimensions. | ||
468 | *dstX += srcRect->x() - *srcX; // This will only add, not subtract | 468 | *dstX += srcRect->x() - *srcX; // This will only add, not subtract | ||
469 | *dstY += srcRect->y() - *srcY; // Idem | 469 | *dstY += srcRect->y() - *srcY; // Idem | ||
470 | srcRect->getRect(srcX, srcY, srcWidth, srcHeight); | 470 | srcRect->getRect(srcX, srcY, srcWidth, srcHeight); | ||
Context not available. |