#include "kis_image_patch.h"
#include <QPainter>
#include "kis_debug.h"
#include <math.h>
Go to the source code of this file.
◆ scaleRect() [1/2]
| void scaleRect |
( |
QRect & | rc, |
|
|
qreal | scaleX, |
|
|
qreal | scaleY ) |
|
inline |
Definition at line 29 of file kis_image_patch.cpp.
30{
32 rc.getRect(&x, &y, &w, &h);
33
38
39 rc.setRect(x, y, w, h);
40}
◆ scaleRect() [2/2]
| void scaleRect |
( |
QRectF & | rc, |
|
|
qreal | scaleX, |
|
|
qreal | scaleY ) |
|
inline |
Definition at line 16 of file kis_image_patch.cpp.
17{
19 rc.getRect(&x, &y, &w, &h);
20
25
26 rc.setRect(x, y, w, h);
27}