Changeset View
Changeset View
Standalone View
Standalone View
plugins/paintops/gridbrush/kis_grid_paintop.cpp
Context not available. | |||||
237 | m_total += msec; | 237 | m_total += msec; | ||
---|---|---|---|---|---|
238 | m_count++; | 238 | m_count++; | ||
239 | #endif | 239 | #endif | ||
240 | return KisSpacingInformation(m_spacing * additionalScale); | 240 | return computeSpacing(additionalScale); | ||
241 | } | ||||
242 | | ||||
243 | KisSpacingInformation KisGridPaintOp::updateSpacingImpl(const KisPaintInformation &info) const | ||||
244 | { | ||||
245 | Q_UNUSED(info); | ||||
246 | return computeSpacing(KisLodTransform::lodToScale(painter()->device())); | ||||
247 | } | ||||
248 | | ||||
249 | KisSpacingInformation KisGridPaintOp::computeSpacing(qreal lodScale) const | ||||
250 | { | ||||
251 | return KisSpacingInformation(m_spacing * lodScale); | ||||
241 | } | 252 | } | ||
242 | 253 | | |||
243 | void KisGridProperties::readOptionSetting(const KisPropertiesConfigurationSP setting) | 254 | void KisGridProperties::readOptionSetting(const KisPropertiesConfigurationSP setting) | ||
Context not available. |