Changeset View
Changeset View
Standalone View
Standalone View
plugins/paintops/hatching/kis_hatching_paintop.cpp
Show All 39 Lines | |||||
40 | #include <kis_pressure_opacity_option.h> | 40 | #include <kis_pressure_opacity_option.h> | ||
41 | #include <kis_lod_transform.h> | 41 | #include <kis_lod_transform.h> | ||
42 | #include <kis_spacing_information.h> | 42 | #include <kis_spacing_information.h> | ||
43 | 43 | | |||
44 | 44 | | |||
45 | 45 | | |||
46 | #include <KoColorSpaceRegistry.h> | 46 | #include <KoColorSpaceRegistry.h> | ||
47 | 47 | | |||
48 | KisHatchingPaintOp::KisHatchingPaintOp(const KisPaintOpSettingsSP settings, KisPainter * painter, KisNodeSP node, KisImageSP image) | 48 | KisHatchingPaintOp::KisHatchingPaintOp(const KisPaintOpSettingsSP settings, KisPainter * painter, KisNodeSP node, KisImageSP /*image*/) | ||
49 | : KisBrushBasedPaintOp(settings, painter) | 49 | : KisBrushBasedPaintOp(settings, painter) | ||
50 | { | 50 | { | ||
51 | Q_UNUSED(node); | 51 | Q_UNUSED(node); | ||
52 | 52 | | |||
53 | m_settings = new KisHatchingPaintOpSettings(); | 53 | m_settings = new KisHatchingPaintOpSettings(); | ||
54 | static_cast<const KisHatchingPaintOpSettings*>(settings.data())->initializeTwin(m_settings); | 54 | static_cast<const KisHatchingPaintOpSettings*>(settings.data())->initializeTwin(m_settings); | ||
55 | 55 | | |||
56 | m_hatchingBrush = new HatchingBrush(m_settings); | 56 | m_hatchingBrush = new HatchingBrush(m_settings); | ||
▲ Show 20 Lines • Show All 157 Lines • Show Last 20 Lines |