Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::Handles::Style Struct Reference

Struct containing all required styling for handles. More...

#include <ctrl-handle-styling.h>

Public Member Functions

uint32_t getFill () const
 
uint32_t getStroke () const
 
uint32_t getOutline () const
 

Public Attributes

Property< CanvasItemCtrlShapeshape {CANVAS_ITEM_CTRL_SHAPE_SQUARE}
 
Property< uint32_t > fill {0xffffff}
 
Property< uint32_t > stroke {0xffffff}
 
Property< uint32_t > outline {0xffffff}
 
Property< float > fill_opacity {1.0}
 
Property< float > stroke_opacity {1.0}
 
Property< float > outline_opacity {1.0}
 
Property< float > opacity {1.0}
 
Property< float > stroke_width {1.0}
 
Property< float > outline_width {0.0}
 
Property< float > scale {2.0}
 
Property< float > size_extra {1.0}
 
Property< float > stroke_scale {0.125}
 

Detailed Description

Struct containing all required styling for handles.

Definition at line 94 of file ctrl-handle-styling.h.

Member Function Documentation

◆ getFill()

uint32_t Inkscape::Handles::Style::getFill ( ) const

Definition at line 365 of file ctrl-handle-styling.cpp.

References fill, fill_opacity, and opacity.

◆ getOutline()

uint32_t Inkscape::Handles::Style::getOutline ( ) const

Definition at line 375 of file ctrl-handle-styling.cpp.

References opacity, outline, and outline_opacity.

◆ getStroke()

uint32_t Inkscape::Handles::Style::getStroke ( ) const

Definition at line 370 of file ctrl-handle-styling.cpp.

References opacity, stroke, and stroke_opacity.

Member Data Documentation

◆ fill

Property<uint32_t> Inkscape::Handles::Style::fill {0xffffff}

Definition at line 97 of file ctrl-handle-styling.h.

Referenced by getFill().

◆ fill_opacity

Property<float> Inkscape::Handles::Style::fill_opacity {1.0}

Definition at line 100 of file ctrl-handle-styling.h.

Referenced by getFill().

◆ opacity

Property<float> Inkscape::Handles::Style::opacity {1.0}

Definition at line 103 of file ctrl-handle-styling.h.

Referenced by getFill(), getOutline(), and getStroke().

◆ outline

Property<uint32_t> Inkscape::Handles::Style::outline {0xffffff}

Definition at line 99 of file ctrl-handle-styling.h.

Referenced by getOutline().

◆ outline_opacity

Property<float> Inkscape::Handles::Style::outline_opacity {1.0}

Definition at line 102 of file ctrl-handle-styling.h.

Referenced by getOutline().

◆ outline_width

Property<float> Inkscape::Handles::Style::outline_width {0.0}

Definition at line 105 of file ctrl-handle-styling.h.

◆ scale

Property<float> Inkscape::Handles::Style::scale {2.0}

Definition at line 106 of file ctrl-handle-styling.h.

◆ shape

Property<CanvasItemCtrlShape> Inkscape::Handles::Style::shape {CANVAS_ITEM_CTRL_SHAPE_SQUARE}

Definition at line 96 of file ctrl-handle-styling.h.

◆ size_extra

Property<float> Inkscape::Handles::Style::size_extra {1.0}

Definition at line 107 of file ctrl-handle-styling.h.

◆ stroke

Property<uint32_t> Inkscape::Handles::Style::stroke {0xffffff}

Definition at line 98 of file ctrl-handle-styling.h.

Referenced by getStroke().

◆ stroke_opacity

Property<float> Inkscape::Handles::Style::stroke_opacity {1.0}

Definition at line 101 of file ctrl-handle-styling.h.

Referenced by getStroke().

◆ stroke_scale

Property<float> Inkscape::Handles::Style::stroke_scale {0.125}

Definition at line 108 of file ctrl-handle-styling.h.

◆ stroke_width

Property<float> Inkscape::Handles::Style::stroke_width {1.0}

Definition at line 104 of file ctrl-handle-styling.h.


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