Changeset View
Changeset View
Standalone View
Standalone View
plugins/paintops/dynadraw/kis_dyna_paintop.h
Context not available. | |||||
39 | KisDynaPaintOp(const KisPaintOpSettingsSP settings, KisPainter * painter, KisNodeSP node, KisImageSP image); | 39 | KisDynaPaintOp(const KisPaintOpSettingsSP settings, KisPainter * painter, KisNodeSP node, KisImageSP image); | ||
---|---|---|---|---|---|
40 | ~KisDynaPaintOp() override; | 40 | ~KisDynaPaintOp() override; | ||
41 | 41 | | |||
42 | KisSpacingInformation paintAt(const KisPaintInformation& info) override; | | |||
43 | void paintLine(const KisPaintInformation &pi1, const KisPaintInformation &pi2, KisDistanceInformation *currentDistance) override; | 42 | void paintLine(const KisPaintInformation &pi1, const KisPaintInformation &pi2, KisDistanceInformation *currentDistance) override; | ||
44 | 43 | | |||
45 | virtual bool incremental() const { | 44 | virtual bool incremental() const { | ||
46 | return true; | 45 | return true; | ||
47 | } | 46 | } | ||
48 | 47 | | |||
48 | protected: | ||||
49 | KisSpacingInformation paintAt(const KisPaintInformation& info) override; | ||||
50 | | ||||
51 | KisSpacingInformation updateSpacingImpl(const KisPaintInformation &info) const override; | ||||
52 | | ||||
49 | private: | 53 | private: | ||
50 | void doPaintLine(const KisPaintInformation &pi1, const KisPaintInformation &pi2); | 54 | void doPaintLine(const KisPaintInformation &pi1, const KisPaintInformation &pi2); | ||
51 | 55 | | |||
Context not available. |