|
Krita Source Code Documentation
|
Go to the source code of this file.
Macros | |
| #define | MAX_MIPMAP_SCALE 8.0 |
| #define | MIPMAP_SIZE_THRESHOLD 512 |
| #define | QPAINTER_WORKAROUND_BORDER 1 |
Functions | |
| QTransform | baseBrushTransform (KisDabShape const &shape, qreal subPixelX, qreal subPixelY, const QRectF &baseBounds) |
| QRect | roundRect (const QRectF &rc) |
| #define MAX_MIPMAP_SCALE 8.0 |
Definition at line 14 of file kis_qimage_pyramid.cpp.
| #define MIPMAP_SIZE_THRESHOLD 512 |
Definition at line 13 of file kis_qimage_pyramid.cpp.
| #define QPAINTER_WORKAROUND_BORDER 1 |
Definition at line 16 of file kis_qimage_pyramid.cpp.
| QTransform baseBrushTransform | ( | KisDabShape const & | shape, |
| qreal | subPixelX, | ||
| qreal | subPixelY, | ||
| const QRectF & | baseBounds ) |
Definition at line 118 of file kis_qimage_pyramid.cpp.
References qFuzzyCompare(), KisDabShape::rotation(), KisDabShape::scaleX(), and KisDabShape::scaleY().
|
inline |
This is an analog of toAlignedRect() with the only difference that it ensures the rect position will never be below zero.
Warning: be very careful with using bottom()/right() values of a pure QRect (we don't use it here for the dangers it can lead to).
Definition at line 91 of file kis_qimage_pyramid.cpp.
References KIS_SAFE_ASSERT_RECOVER_NOOP.