Changeset View
Changeset View
Standalone View
Standalone View
libs/flake/KisGamutMaskViewConverter.h
Show All 30 Lines | |||||
31 | * @brief view convertor for gamut mask calculations and painting | 31 | * @brief view convertor for gamut mask calculations and painting | ||
32 | */ | 32 | */ | ||
33 | class KRITAFLAKE_EXPORT KisGamutMaskViewConverter : public KoViewConverter | 33 | class KRITAFLAKE_EXPORT KisGamutMaskViewConverter : public KoViewConverter | ||
34 | { | 34 | { | ||
35 | public: | 35 | public: | ||
36 | KisGamutMaskViewConverter(); | 36 | KisGamutMaskViewConverter(); | ||
37 | ~KisGamutMaskViewConverter(); | 37 | ~KisGamutMaskViewConverter(); | ||
38 | 38 | | |||
39 | QSize viewSize() const; | ||||
39 | void setViewSize(QSize viewSize); | 40 | void setViewSize(QSize viewSize); | ||
41 | | ||||
40 | void setMaskSize(QSizeF maskSize); | 42 | void setMaskSize(QSizeF maskSize); | ||
41 | 43 | | |||
42 | QPointF documentToView(const QPointF &documentPoint) const override; | 44 | QPointF documentToView(const QPointF &documentPoint) const override; | ||
43 | QPointF viewToDocument(const QPointF &viewPoint) const override; | 45 | QPointF viewToDocument(const QPointF &viewPoint) const override; | ||
44 | 46 | | |||
45 | QRectF documentToView(const QRectF &documentRect) const override; | 47 | QRectF documentToView(const QRectF &documentRect) const override; | ||
46 | QRectF viewToDocument(const QRectF &viewRect) const override; | 48 | QRectF viewToDocument(const QRectF &viewRect) const override; | ||
47 | 49 | | |||
Show All 21 Lines |