Changeset View
Changeset View
Standalone View
Standalone View
libs/flake/KoPatternBackground.h
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | 47 | enum ReferencePoint { | |||
---|---|---|---|---|---|
56 | BottomRight | 56 | BottomRight | ||
57 | }; | 57 | }; | ||
58 | 58 | | |||
59 | /// Constructs a new pattern background utilizing the given image collection | 59 | /// Constructs a new pattern background utilizing the given image collection | ||
60 | explicit KoPatternBackground(KoImageCollection *collection); | 60 | explicit KoPatternBackground(KoImageCollection *collection); | ||
61 | 61 | | |||
62 | virtual ~KoPatternBackground(); | 62 | virtual ~KoPatternBackground(); | ||
63 | 63 | | |||
64 | bool compareTo(const KoShapeBackground *other) const override; | ||||
65 | | ||||
64 | /// Sets the transform matrix | 66 | /// Sets the transform matrix | ||
65 | void setTransform(const QTransform &matrix); | 67 | void setTransform(const QTransform &matrix); | ||
66 | 68 | | |||
67 | /// Returns the transform matrix | 69 | /// Returns the transform matrix | ||
68 | QTransform transform() const; | 70 | QTransform transform() const; | ||
69 | 71 | | |||
70 | /// Sets a new pattern | 72 | /// Sets a new pattern | ||
71 | void setPattern(const QImage &pattern); | 73 | void setPattern(const QImage &pattern); | ||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |