Changeset View
Changeset View
Standalone View
Standalone View
libs/image/brushengine/kis_paintop.cc
Context not available. | |||||
160 | pi.paintAt(*this, currentDistance); | 160 | pi.paintAt(*this, currentDistance); | ||
---|---|---|---|---|---|
161 | } | 161 | } | ||
162 | 162 | | |||
163 | void KisPaintOp::updateSpacing(const KisPaintInformation &info, | ||||
164 | KisDistanceInformation ¤tDistance) const | ||||
165 | { | ||||
166 | KisPaintInformation pi(info); | ||||
167 | KisSpacingInformation spacingInfo; | ||||
168 | { | ||||
169 | KisPaintInformation::DistanceInformationRegistrar r | ||||
170 | = pi.registerDistanceInformation(¤tDistance); | ||||
171 | spacingInfo = updateSpacingImpl(pi); | ||||
172 | } | ||||
173 | | ||||
174 | currentDistance.setSpacing(spacingInfo); | ||||
175 | } | ||||
176 | | ||||
163 | KisPainter* KisPaintOp::painter() const | 177 | KisPainter* KisPaintOp::painter() const | ||
164 | { | 178 | { | ||
165 | return d->painter; | 179 | return d->painter; | ||
Context not available. |