CYD-UI
A C++ library for building native graphic user interfaces
Loading...
Searching...
No Matches
vg::rectangle Struct Referenceexport
+ Inheritance diagram for vg::rectangle:
+ Collaboration diagram for vg::rectangle:

Public Member Functions

 rectangle ()
 
 ~rectangle () override
 
void apply_to (pixelmap_editor_t &editor) const override
 
footprint get_footprint () const override
 
- Public Member Functions inherited from vg::element_t
void _internal_set_origin (int x, int y)
 
virtual ~element_t ()=default
 
- Public Member Functions inherited from vg::attr_hidden< rectangle >
rectanglehidden (bool &_hidden_)
 
rectanglehidden (bool &&_hidden_)
 
- Public Member Functions inherited from vg::attr_opacity< rectangle >
rectangleopacity (float &_opacity_)
 
rectangleopacity (float &&_opacity_)
 
- Public Member Functions inherited from vg::attr_fill< rectangle >
rectanglefill (vg::paint::type &_fill_)
 
rectanglefill (vg::paint::type &&_fill_)
 
rectanglefill (vg::paint::solid &_fill_)
 
rectanglefill (vg::paint::solid &&_fill_)
 
rectanglefill (vg::paint::gradient::linear &_fill_)
 
rectanglefill (vg::paint::gradient::linear &&_fill_)
 
rectanglefill (vg::paint::gradient::radial &_fill_)
 
rectanglefill (vg::paint::gradient::radial &&_fill_)
 
- Public Member Functions inherited from vg::attr_fill_opacity< rectangle >
rectanglefill_opacity (double &_fill_opacity_)
 
rectanglefill_opacity (double &&_fill_opacity_)
 
- Public Member Functions inherited from vg::attr_fill_rule< rectangle >
rectanglefill_rule (fill_rule_e &_fill_rule_)
 
rectanglefill_rule (fill_rule_e &&_fill_rule_)
 
- Public Member Functions inherited from vg::attr_stroke< rectangle >
rectanglestroke (vg::paint::type &_stroke_)
 
rectanglestroke (vg::paint::type &&_stroke_)
 
rectanglestroke (vg::paint::solid &_stroke_)
 
rectanglestroke (vg::paint::solid &&_stroke_)
 
rectanglestroke (vg::paint::gradient::linear &_stroke_)
 
rectanglestroke (vg::paint::gradient::linear &&_stroke_)
 
rectanglestroke (vg::paint::gradient::radial &_stroke_)
 
rectanglestroke (vg::paint::gradient::radial &&_stroke_)
 
- Public Member Functions inherited from vg::attr_stroke_width< rectangle >
rectanglestroke_width (const quantify::quantity_t< UNIT, T > &_stroke_width_)
 
rectanglestroke_width (quantify::quantity_t< UNIT, T > &&_stroke_width_)
 
rectanglestroke_width (const int &_stroke_width_)
 
rectanglestroke_width (int &&_stroke_width_)
 
- Public Member Functions inherited from vg::attr_stroke_opacity< rectangle >
rectanglestroke_opacity (float &_stroke_opacity_)
 
rectanglestroke_opacity (float &&_stroke_opacity_)
 
- Public Member Functions inherited from vg::attr_stroke_miterlimit< rectangle >
rectanglestroke_miterlimit (int &_stroke_miterlimit_)
 
rectanglestroke_miterlimit (int &&_stroke_miterlimit_)
 
- Public Member Functions inherited from vg::attr_stroke_dasharray< rectangle >
rectanglestroke_dasharray (std::valarray< double > &_stroke_dasharray_)
 
rectanglestroke_dasharray (std::valarray< double > &&_stroke_dasharray_)
 
- Public Member Functions inherited from vg::attr_stroke_dashoffset< rectangle >
rectanglestroke_dashoffset (double &_stroke_dashoffset_)
 
rectanglestroke_dashoffset (double &&_stroke_dashoffset_)
 
- Public Member Functions inherited from vg::attr_stroke_linejoin< rectangle >
rectanglestroke_linejoin (stroke_linejoin_e &_stroke_linejoin_)
 
rectanglestroke_linejoin (stroke_linejoin_e &&_stroke_linejoin_)
 
- Public Member Functions inherited from vg::attr_stroke_linecap< rectangle >
rectanglestroke_linecap (stroke_linecap_e &_stroke_linecap_)
 
rectanglestroke_linecap (stroke_linecap_e &&_stroke_linecap_)
 
- Public Member Functions inherited from vg::attr_x< rectangle >
rectanglex (const quantify::quantity_t< UNIT, T > &_x_)
 
rectanglex (quantify::quantity_t< UNIT, T > &&_x_)
 
rectanglex (const int &_x_)
 
rectanglex (int &&_x_)
 
- Public Member Functions inherited from vg::attr_y< rectangle >
rectangley (const quantify::quantity_t< UNIT, T > &_y_)
 
rectangley (quantify::quantity_t< UNIT, T > &&_y_)
 
rectangley (const int &_y_)
 
rectangley (int &&_y_)
 
- Public Member Functions inherited from vg::attr_w< rectangle >
rectanglew (const quantify::quantity_t< UNIT, T > &_w_)
 
rectanglew (quantify::quantity_t< UNIT, T > &&_w_)
 
rectanglew (const int &_w_)
 
rectanglew (int &&_w_)
 
- Public Member Functions inherited from vg::attr_h< rectangle >
rectangleh (const quantify::quantity_t< UNIT, T > &_h_)
 
rectangleh (quantify::quantity_t< UNIT, T > &&_h_)
 
rectangleh (const int &_h_)
 
rectangleh (int &&_h_)
 
- Public Member Functions inherited from vg::attr_r< rectangle >
rectangler (const quantify::quantity_t< UNIT, T > &_r_)
 
rectangler (quantify::quantity_t< UNIT, T > &&_r_)
 
rectangler (const int &_r_)
 
rectangler (int &&_r_)
 

Additional Inherited Members

- Public Attributes inherited from vg::element_t
int origin_x = 0
 
int origin_y = 0
 
- Public Attributes inherited from vg::attr_hidden< rectangle >
bool _hidden
 
- Public Attributes inherited from vg::attr_opacity< rectangle >
float _opacity
 
- Public Attributes inherited from vg::attr_fill< rectangle >
vg::paint::type _fill
 
- Public Attributes inherited from vg::attr_fill_opacity< rectangle >
double _fill_opacity
 
- Public Attributes inherited from vg::attr_fill_rule< rectangle >
fill_rule_e _fill_rule
 
- Public Attributes inherited from vg::attr_stroke< rectangle >
vg::paint::type _stroke
 
- Public Attributes inherited from vg::attr_stroke_width< rectangle >
int _stroke_width
 
- Public Attributes inherited from vg::attr_stroke_opacity< rectangle >
float _stroke_opacity
 
- Public Attributes inherited from vg::attr_stroke_miterlimit< rectangle >
int _stroke_miterlimit
 
- Public Attributes inherited from vg::attr_stroke_dasharray< rectangle >
std::valarray< double > _stroke_dasharray
 
- Public Attributes inherited from vg::attr_stroke_dashoffset< rectangle >
double _stroke_dashoffset
 
- Public Attributes inherited from vg::attr_stroke_linejoin< rectangle >
stroke_linejoin_e _stroke_linejoin
 
- Public Attributes inherited from vg::attr_stroke_linecap< rectangle >
stroke_linecap_e _stroke_linecap
 
- Public Attributes inherited from vg::attr_x< rectangle >
int _x
 
- Public Attributes inherited from vg::attr_y< rectangle >
int _y
 
- Public Attributes inherited from vg::attr_w< rectangle >
int _w
 
- Public Attributes inherited from vg::attr_h< rectangle >
int _h
 
- Public Attributes inherited from vg::attr_r< rectangle >
int _r
 
- Protected Member Functions inherited from vg::attrs_fill< rectangle >
void apply_fill (pixelmap_editor_t &editor) const
 
void set_source_to_fill (pixelmap_editor_t &editor) const
 
color::Color sample_fill (int x, int y) const
 
- Protected Member Functions inherited from vg::attrs_stroke< rectangle >
void apply_stroke (pixelmap_editor_t &editor) const
 
void set_source_to_stroke (pixelmap_editor_t &editor) const
 
color::Color sample_stroke (int x, int y) const
 

Detailed Description

Definition at line 16 of file rectangle.cppm.

Constructor & Destructor Documentation

◆ rectangle()

vg::rectangle::rectangle ( )
inlineexport

Definition at line 26 of file rectangle.cppm.

◆ ~rectangle()

vg::rectangle::~rectangle ( )
inlineoverrideexport

Definition at line 29 of file rectangle.cppm.

Member Function Documentation

◆ apply_to()

void vg::rectangle::apply_to ( pixelmap_editor_t & editor) const
inlineoverrideexportvirtual

Implements vg::element_t.

Definition at line 32 of file rectangle.cppm.

+ Here is the call graph for this function:

◆ get_footprint()

footprint vg::rectangle::get_footprint ( ) const
inlineoverrideexportvirtual

Implements vg::element_t.

Definition at line 63 of file rectangle.cppm.


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