Changeset View
Changeset View
Standalone View
Standalone View
libs/flake/KoShapeControllerBase.h
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Line(s) | 43 | public: | |||
---|---|---|---|---|---|
94 | virtual QRectF documentRectInPixels() const = 0; | 94 | virtual QRectF documentRectInPixels() const = 0; | ||
95 | 95 | | |||
96 | /** | 96 | /** | ||
97 | * The size of the document measured in 'pt' | 97 | * The size of the document measured in 'pt' | ||
98 | */ | 98 | */ | ||
99 | QRectF documentRect() const; | 99 | QRectF documentRect() const; | ||
100 | 100 | | |||
101 | /** | 101 | /** | ||
102 | * Resolution of the rasterized representaiton of the document. Used to load SVG documents correctly. | 102 | * Resolution of the rasterized representation of the document. Used to load SVG documents correctly. | ||
103 | */ | 103 | */ | ||
104 | virtual qreal pixelsPerInch() const = 0; | 104 | virtual qreal pixelsPerInch() const = 0; | ||
105 | 105 | | |||
106 | private: | 106 | private: | ||
107 | KoshapeControllerBasePrivate * const d; | 107 | KoshapeControllerBasePrivate * const d; | ||
108 | }; | 108 | }; | ||
109 | 109 | | |||
110 | #endif | 110 | #endif |