Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::UI::Widget::RotateableSwatch Class Reference

#include <selected-style.h>

Inheritance diagram for Inkscape::UI::Widget::RotateableSwatch:
Inkscape::UI::Widget::Rotateable

Public Member Functions

 RotateableSwatch (SelectedStyle *parent, guint mode)
 
 ~RotateableSwatch () override
 
std::pair< double, double > color_adjust (Colors::Color const &cc, double by, guint state)
 
void do_motion (double by, guint state) override
 
void do_release (double by, guint state) override
 
void do_scroll (double by, guint state) override
 
- Public Member Functions inherited from Inkscape::UI::Widget::Rotateable
 Rotateable ()
 
 ~Rotateable () override
 

Private Attributes

guint fillstroke
 
SelectedStyleparent
 
std::optional< Colors::Colorstartcolor
 
gchar const * undokey = "ssrot1"
 
int cursor_state = -1
 

Additional Inherited Members

- Public Attributes inherited from Inkscape::UI::Widget::Rotateable
double axis
 
double current_axis
 
double maxdecl
 
bool scrolling
 

Detailed Description

Definition at line 74 of file selected-style.h.

Constructor & Destructor Documentation

◆ RotateableSwatch()

Inkscape::UI::Widget::RotateableSwatch::RotateableSwatch ( SelectedStyle parent,
guint  mode 
)

Definition at line 987 of file selected-style.cpp.

◆ ~RotateableSwatch()

Inkscape::UI::Widget::RotateableSwatch::~RotateableSwatch ( )
overridedefault

Member Function Documentation

◆ color_adjust()

◆ do_motion()

◆ do_release()

◆ do_scroll()

void Inkscape::UI::Widget::RotateableSwatch::do_scroll ( double  by,
guint  state 
)
override

Member Data Documentation

◆ cursor_state

int Inkscape::UI::Widget::RotateableSwatch::cursor_state = -1
private

Definition at line 94 of file selected-style.h.

Referenced by do_motion(), and do_release().

◆ fillstroke

guint Inkscape::UI::Widget::RotateableSwatch::fillstroke
private

Definition at line 86 of file selected-style.h.

Referenced by color_adjust(), do_motion(), and do_release().

◆ parent

SelectedStyle* Inkscape::UI::Widget::RotateableSwatch::parent
private

Definition at line 88 of file selected-style.h.

Referenced by color_adjust(), do_motion(), and do_release().

◆ startcolor

std::optional<Colors::Color> Inkscape::UI::Widget::RotateableSwatch::startcolor
private

Definition at line 90 of file selected-style.h.

Referenced by do_motion(), and do_release().

◆ undokey

gchar const* Inkscape::UI::Widget::RotateableSwatch::undokey = "ssrot1"
private

Definition at line 92 of file selected-style.h.

Referenced by do_motion(), and do_release().


The documentation for this class was generated from the following files: