Changeset View
Changeset View
Standalone View
Standalone View
libs/image/recorder/kis_recorded_path_paint_action.h
Context not available. | |||||
25 | 25 | | |||
---|---|---|---|---|---|
26 | class KisPaintInformation; | 26 | class KisPaintInformation; | ||
27 | class KisPainter; | 27 | class KisPainter; | ||
28 | class KisDistanceInitInfo; | ||||
28 | 29 | | |||
29 | #include <kritaimage_export.h> | 30 | #include <kritaimage_export.h> | ||
30 | 31 | | |||
Context not available. | |||||
36 | 37 | | |||
37 | public: | 38 | public: | ||
38 | 39 | | |||
40 | /** | ||||
41 | * @param startDist - Provides initial information related to distance and spacing, which can | ||||
42 | * have an effect on how the path is painted. | ||||
43 | */ | ||||
39 | KisRecordedPathPaintAction(const KisNodeQueryPath& path, | 44 | KisRecordedPathPaintAction(const KisNodeQueryPath& path, | ||
40 | const KisPaintOpPresetSP paintOpPreset); | 45 | const KisPaintOpPresetSP paintOpPreset, | ||
46 | const KisDistanceInitInfo& startDistInfo); | ||||
41 | 47 | | |||
42 | KisRecordedPathPaintAction(const KisRecordedPathPaintAction&); | 48 | KisRecordedPathPaintAction(const KisRecordedPathPaintAction&); | ||
43 | 49 | | |||
44 | ~KisRecordedPathPaintAction() override; | 50 | ~KisRecordedPathPaintAction() override; | ||
45 | 51 | | |||
52 | KisDistanceInitInfo getInitDistInfo() const; | ||||
53 | | ||||
54 | void setInitDistInfo(const KisDistanceInitInfo &startDistInfo); | ||||
55 | | ||||
46 | void addPoint(const KisPaintInformation& info); | 56 | void addPoint(const KisPaintInformation& info); | ||
47 | void addLine(const KisPaintInformation& point1, const KisPaintInformation& point2); | 57 | void addLine(const KisPaintInformation& point1, const KisPaintInformation& point2); | ||
48 | void addPolyLine(const QList<QPointF>& points); | 58 | void addPolyLine(const QList<QPointF>& points); | ||
Context not available. |