Inkscape
Vector Graphics Editor
|
#include <selected-style.h>
Public Member Functions | |
RotateableStrokeWidth (SelectedStyle *parent) | |
~RotateableStrokeWidth () override | |
double | value_adjust (double current, double by, guint modifier, bool final) |
void | do_motion (double by, guint state) override |
void | do_release (double by, guint state) override |
void | do_scroll (double by, guint state) override |
![]() | |
Rotateable () | |
~Rotateable () override | |
Private Attributes | |
SelectedStyle * | parent |
double | startvalue |
bool | startvalue_set |
gchar const * | undokey |
Additional Inherited Members | |
![]() | |
double | axis |
double | current_axis |
double | maxdecl |
bool | scrolling |
Definition at line 97 of file selected-style.h.
Inkscape::UI::Widget::RotateableStrokeWidth::RotateableStrokeWidth | ( | SelectedStyle * | parent | ) |
Definition at line 1122 of file selected-style.cpp.
|
overridedefault |
|
override |
Definition at line 1157 of file selected-style.cpp.
References Inkscape::UI::Widget::SelectedStyle::current_stroke_width, Inkscape::UI::Widget::SelectedStyle::dragging, Inkscape::UI::Widget::SelectedStyle::getDesktop(), SPDesktop::getDocument(), SPDesktop::getTool(), Inkscape::IMMEDIATE_MESSAGE, Inkscape::DocumentUndo::maybeDone(), Inkscape::UI::Tools::ToolBase::message_context, Inkscape::UI::Widget::Rotateable::modifier, parent, startvalue, startvalue_set, undokey, and value_adjust().
Referenced by do_scroll().
|
override |
Definition at line 1178 of file selected-style.cpp.
References Inkscape::UI::Widget::SelectedStyle::dragging, Inkscape::UI::Widget::SelectedStyle::getDesktop(), SPDesktop::getDocument(), SPDesktop::getTool(), Inkscape::DocumentUndo::maybeDone(), Inkscape::UI::Tools::ToolBase::message_context, Inkscape::UI::Widget::Rotateable::modifier, parent, startvalue, startvalue_set, undokey, and value_adjust().
Referenced by do_scroll().
|
override |
Definition at line 1198 of file selected-style.cpp.
References do_motion(), do_release(), Inkscape::UI::Widget::Rotateable::modifier, and startvalue_set.
double Inkscape::UI::Widget::RotateableStrokeWidth::value_adjust | ( | double | current, |
double | by, | ||
guint | modifier, | ||
bool | final | ||
) |
Definition at line 1133 of file selected-style.cpp.
References Inkscape::UI::Widget::SelectedStyle::_sw_unit, Inkscape::Util::Quantity::convert(), css, current, Inkscape::UI::Widget::SelectedStyle::getDesktop(), parent, sp_desktop_set_style(), sp_repr_css_attr_new(), sp_repr_css_attr_unref(), sp_repr_css_set_property(), and Inkscape::CSSOStringStream::str().
Referenced by do_motion(), and do_release().
|
private |
Definition at line 108 of file selected-style.h.
Referenced by do_motion(), do_release(), and value_adjust().
|
private |
Definition at line 110 of file selected-style.h.
Referenced by do_motion(), and do_release().
|
private |
Definition at line 111 of file selected-style.h.
Referenced by do_motion(), do_release(), and do_scroll().
|
private |
Definition at line 113 of file selected-style.h.
Referenced by do_motion(), and do_release().