|
Krita Source Code Documentation
|
#include <kis_roundmarkerop_settings.h>
Inheritance diagram for KisRoundMarkerOpSettings:Classes | |
| struct | Private |
Private Attributes | |
| const QScopedPointer< Private > | m_d |
Definition at line 15 of file kis_roundmarkerop_settings.h.
| KisRoundMarkerOpSettings::KisRoundMarkerOpSettings | ( | KisResourcesInterfaceSP | resourcesInterface | ) |
Definition at line 18 of file kis_roundmarkerop_settings.cpp.
|
override |
Definition at line 27 of file kis_roundmarkerop_settings.cpp.
|
inlineoverridevirtual |
Indicates the minimum time interval that might be needed between airbrush dabs, in milliseconds. A lower value means painting updates need to happen more frequently. This value should be ignored if isAirbrushing() is false.
The default implementation uses the property AIRBRUSH_RATE, defaulting to an interval of one second if the property is not found. This should be suitable for most paintops.
Reimplemented from KisPaintOpSettings.
Definition at line 34 of file kis_roundmarkerop_settings.h.
|
overridevirtual |
Returns the brush outline in pixel coordinates. Tool is responsible for conversion into view coordinates. Outline mode has to be passed to the paintop which builds the outline as some paintops have to paint outline always like clone paintop indicating the duplicate position
Reimplemented from KisPaintOpSettings.
Definition at line 60 of file kis_roundmarkerop_settings.cpp.
References KisRoundMarkerOpOptionData::diameter, KisCurrentOutlineFetcher::fetchOutline(), KisPaintOpSettings::OutlineMode::isVisible, KisPaintOpSettings::makeTiltIndicator(), KisOutlineGenerationPolicy< KisPaintOpSettings >::outlineFetcher(), KisRoundMarkerOpOptionData::read(), and KisPaintOpSettings::OutlineMode::showTiltDecoration.
|
inlineoverridevirtual |
Whether this paintop wants to deposit paint even when not moving, i.e. the tool needs to activate its timer. If this is true, painting updates need to be generated at regular intervals even in the absence of input device events, e.g. when the cursor is not moving.
The default implementation checks the property AIRBRUSH_ENABLED, defaulting to false if the property is not found. This should be suitable for most paintops.
Reimplemented from KisPaintOpSettings.
Definition at line 29 of file kis_roundmarkerop_settings.h.
|
overridevirtual |
XXX: Remove this after 2.0, when the paint operation (incremental/non incremental) will be completely handled in the paintop, not in the tool. This is a filthy hack to move the option to the right place, at least.
Reimplemented from KisPaintOpSettings.
Definition at line 31 of file kis_roundmarkerop_settings.cpp.
|
overridevirtual |
Implements KisPaintOpSettings.
Definition at line 55 of file kis_roundmarkerop_settings.cpp.
|
overridevirtual |
Implements KisPaintOpSettings.
Definition at line 43 of file kis_roundmarkerop_settings.cpp.
References KisRoundMarkerOpOptionData::diameter, and KisRoundMarkerOpOptionData::read().
|
overridevirtual |
Set paintop angle (in degrees) directly in the properties. Increasing the angle corresponds to a counter-clockwise rotation.
Implements KisPaintOpSettings.
Definition at line 50 of file kis_roundmarkerop_settings.cpp.
References value().
|
overridevirtual |
Set paintop size directly in the properties
Implements KisPaintOpSettings.
Definition at line 35 of file kis_roundmarkerop_settings.cpp.
References KisRoundMarkerOpOptionData::diameter, KisRoundMarkerOpOptionData::read(), value(), and KisRoundMarkerOpOptionData::write().
|
overridevirtual |
Reimplemented from KisPaintOpSettings.
Definition at line 93 of file kis_roundmarkerop_settings.cpp.
References KisRoundMarkerOpOptionData::autoSpacingCoeff, listWeakToStrong(), m_d, KisRoundMarkerOpOptionData::read(), KisCallbackBasedPaintopProperty< ParentClass >::setReadCallback(), KisCallbackBasedPaintopProperty< ParentClass >::setWriteCallback(), toQShared(), KisPaintOpSettings::uniformProperties, KisRoundMarkerOpOptionData::useAutoSpacing, and KisRoundMarkerOpOptionData::write().
|
private |
Definition at line 45 of file kis_roundmarkerop_settings.h.