Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/tool/strokes/kis_painter_based_stroke_strategy.cpp
Context not available. | |||||
38 | { | 38 | { | ||
---|---|---|---|---|---|
39 | } | 39 | } | ||
40 | 40 | | |||
41 | KisPainterBasedStrokeStrategy::PainterInfo::PainterInfo(const QPointF &lastPosition, int lastTime, | 41 | KisPainterBasedStrokeStrategy::PainterInfo::PainterInfo(const KisDistanceInformation &startDist) | ||
42 | qreal lastAngle) | | |||
43 | : painter(new KisPainter()), | 42 | : painter(new KisPainter()), | ||
44 | dragDistance(new KisDistanceInformation(lastPosition, lastTime, lastAngle)), | 43 | dragDistance(new KisDistanceInformation(startDist)), | ||
45 | m_parentPainterInfo(0), | 44 | m_parentPainterInfo(0), | ||
46 | m_childPainterInfo(0) | 45 | m_childPainterInfo(0) | ||
47 | { | 46 | { | ||
Context not available. |