Changeset View
Changeset View
Standalone View
Standalone View
plugins/paintops/hatching/kis_hatching_paintop.h
Context not available. | |||||
47 | ~KisHatchingPaintOp() override; | 47 | ~KisHatchingPaintOp() override; | ||
---|---|---|---|---|---|
48 | 48 | | |||
49 | /** | 49 | /** | ||
50 | * Paint a hatched dab around the mouse cursor according to | | |||
51 | * sensor settings and user preferences. | | |||
52 | */ | | |||
53 | KisSpacingInformation paintAt(const KisPaintInformation& info) override; | | |||
54 | | ||||
55 | /** | | |||
56 | * Returns a number between -90 and 90, and corresponds to the | 50 | * Returns a number between -90 and 90, and corresponds to the | ||
57 | * angle that results from adding angle 'spin' to 'm_settings->angle', | 51 | * angle that results from adding angle 'spin' to 'm_settings->angle', | ||
58 | * corrected to coincide with the way the GUI operates. | 52 | * corrected to coincide with the way the GUI operates. | ||
59 | */ | 53 | */ | ||
60 | double spinAngle(double spin); | 54 | double spinAngle(double spin); | ||
61 | 55 | | |||
56 | protected: | ||||
57 | /** | ||||
58 | * Paint a hatched dab around the mouse cursor according to | ||||
59 | * sensor settings and user preferences. | ||||
60 | */ | ||||
61 | KisSpacingInformation paintAt(const KisPaintInformation& info) override; | ||||
62 | | ||||
63 | KisSpacingInformation updateSpacingImpl(const KisPaintInformation &info) const override; | ||||
64 | | ||||
62 | private: | 65 | private: | ||
63 | KisHatchingPaintOpSettingsSP m_settings; | 66 | KisHatchingPaintOpSettingsSP m_settings; | ||
64 | KisImageWSP m_image; | 67 | KisImageWSP m_image; | ||
Context not available. |