Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/canvas/kis_image_pyramid.h
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Line(s) | 36 | public: | |||
---|---|---|---|---|---|
59 | QImage convertToQImage(qreal scale, | 59 | QImage convertToQImage(qreal scale, | ||
60 | qint32 unscaledX, | 60 | qint32 unscaledX, | ||
61 | qint32 unscaledY, | 61 | qint32 unscaledY, | ||
62 | qint32 unscaledWidth, | 62 | qint32 unscaledWidth, | ||
63 | qint32 unscaledHeight); | 63 | qint32 unscaledHeight); | ||
64 | 64 | | |||
65 | /** | 65 | /** | ||
66 | * Draw the projection onto a QPainter. | 66 | * Draw the projection onto a QPainter. | ||
67 | * Color profiling accurs here | 67 | * Color profiling occurs here | ||
68 | */ | 68 | */ | ||
69 | void drawImage(qreal scale, | 69 | void drawImage(qreal scale, | ||
70 | QPainter& gc, | 70 | QPainter& gc, | ||
71 | const QPoint& topLeftScaled, | 71 | const QPoint& topLeftScaled, | ||
72 | const QRect& unscaledSourceRect); | 72 | const QRect& unscaledSourceRect); | ||
73 | 73 | | |||
74 | void alignSourceRect(QRect& rect, qreal scale) override; | 74 | void alignSourceRect(QRect& rect, qreal scale) override; | ||
75 | 75 | | |||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |