Changeset View
Changeset View
Standalone View
Standalone View
plugins/tools/basictools/kis_tool_line_helper.h
Show All 39 Lines | 37 | void repaintLine(KoCanvasResourceManager *resourceManager, | |||
---|---|---|---|---|---|
40 | KisStrokesFacade *strokesFacade, | 40 | KisStrokesFacade *strokesFacade, | ||
41 | KisPostExecutionUndoAdapter *undoAdapter); | 41 | KisPostExecutionUndoAdapter *undoAdapter); | ||
42 | 42 | | |||
43 | void start(KoPointerEvent *event); | 43 | void start(KoPointerEvent *event); | ||
44 | void addPoint(KoPointerEvent *event, const QPointF &overridePos = QPointF()); | 44 | void addPoint(KoPointerEvent *event, const QPointF &overridePos = QPointF()); | ||
45 | void translatePoints(const QPointF &offset); | 45 | void translatePoints(const QPointF &offset); | ||
46 | void end(); | 46 | void end(); | ||
47 | void cancel(); | 47 | void cancel(); | ||
48 | void clearPaint(); | ||||
48 | 49 | | |||
49 | using KisToolFreehandHelper::isRunning; | 50 | using KisToolFreehandHelper::isRunning; | ||
50 | 51 | | |||
51 | private: | 52 | private: | ||
52 | struct Private; | 53 | struct Private; | ||
53 | Private * const m_d; | 54 | Private * const m_d; | ||
54 | }; | 55 | }; | ||
55 | 56 | | |||
56 | #endif /* __KIS_TOOL_LINE_HELPER_H */ | 57 | #endif /* __KIS_TOOL_LINE_HELPER_H */ |