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

Public Member Functions

 polygon ()
 
 ~polygon () 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< polygon >
polygonhidden (bool &_hidden_)
 
polygonhidden (bool &&_hidden_)
 
- Public Member Functions inherited from vg::attr_opacity< polygon >
polygonopacity (float &_opacity_)
 
polygonopacity (float &&_opacity_)
 
- Public Member Functions inherited from vg::attr_fill< polygon >
polygonfill (vg::paint::type &_fill_)
 
polygonfill (vg::paint::type &&_fill_)
 
polygonfill (vg::paint::solid &_fill_)
 
polygonfill (vg::paint::solid &&_fill_)
 
polygonfill (vg::paint::gradient::linear &_fill_)
 
polygonfill (vg::paint::gradient::linear &&_fill_)
 
polygonfill (vg::paint::gradient::radial &_fill_)
 
polygonfill (vg::paint::gradient::radial &&_fill_)
 
- Public Member Functions inherited from vg::attr_fill_opacity< polygon >
polygonfill_opacity (double &_fill_opacity_)
 
polygonfill_opacity (double &&_fill_opacity_)
 
- Public Member Functions inherited from vg::attr_fill_rule< polygon >
polygonfill_rule (fill_rule_e &_fill_rule_)
 
polygonfill_rule (fill_rule_e &&_fill_rule_)
 
- Public Member Functions inherited from vg::attr_stroke< polygon >
polygonstroke (vg::paint::type &_stroke_)
 
polygonstroke (vg::paint::type &&_stroke_)
 
polygonstroke (vg::paint::solid &_stroke_)
 
polygonstroke (vg::paint::solid &&_stroke_)
 
polygonstroke (vg::paint::gradient::linear &_stroke_)
 
polygonstroke (vg::paint::gradient::linear &&_stroke_)
 
polygonstroke (vg::paint::gradient::radial &_stroke_)
 
polygonstroke (vg::paint::gradient::radial &&_stroke_)
 
- Public Member Functions inherited from vg::attr_stroke_width< polygon >
polygonstroke_width (const quantify::quantity_t< UNIT, T > &_stroke_width_)
 
polygonstroke_width (quantify::quantity_t< UNIT, T > &&_stroke_width_)
 
polygonstroke_width (const int &_stroke_width_)
 
polygonstroke_width (int &&_stroke_width_)
 
- Public Member Functions inherited from vg::attr_stroke_opacity< polygon >
polygonstroke_opacity (float &_stroke_opacity_)
 
polygonstroke_opacity (float &&_stroke_opacity_)
 
- Public Member Functions inherited from vg::attr_stroke_miterlimit< polygon >
polygonstroke_miterlimit (int &_stroke_miterlimit_)
 
polygonstroke_miterlimit (int &&_stroke_miterlimit_)
 
- Public Member Functions inherited from vg::attr_stroke_dasharray< polygon >
polygonstroke_dasharray (std::valarray< double > &_stroke_dasharray_)
 
polygonstroke_dasharray (std::valarray< double > &&_stroke_dasharray_)
 
- Public Member Functions inherited from vg::attr_stroke_dashoffset< polygon >
polygonstroke_dashoffset (double &_stroke_dashoffset_)
 
polygonstroke_dashoffset (double &&_stroke_dashoffset_)
 
- Public Member Functions inherited from vg::attr_stroke_linejoin< polygon >
polygonstroke_linejoin (stroke_linejoin_e &_stroke_linejoin_)
 
polygonstroke_linejoin (stroke_linejoin_e &&_stroke_linejoin_)
 
- Public Member Functions inherited from vg::attr_stroke_linecap< polygon >
polygonstroke_linecap (stroke_linecap_e &_stroke_linecap_)
 
polygonstroke_linecap (stroke_linecap_e &&_stroke_linecap_)
 
- Public Member Functions inherited from vg::attr_points< polygon >
polygonpoints (point_list_t &_points_)
 
polygonpoints (point_list_t &&_points_)
 

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< polygon >
bool _hidden
 
- Public Attributes inherited from vg::attr_opacity< polygon >
float _opacity
 
- Public Attributes inherited from vg::attr_fill< polygon >
vg::paint::type _fill
 
- Public Attributes inherited from vg::attr_fill_opacity< polygon >
double _fill_opacity
 
- Public Attributes inherited from vg::attr_fill_rule< polygon >
fill_rule_e _fill_rule
 
- Public Attributes inherited from vg::attr_stroke< polygon >
vg::paint::type _stroke
 
- Public Attributes inherited from vg::attr_stroke_width< polygon >
int _stroke_width
 
- Public Attributes inherited from vg::attr_stroke_opacity< polygon >
float _stroke_opacity
 
- Public Attributes inherited from vg::attr_stroke_miterlimit< polygon >
int _stroke_miterlimit
 
- Public Attributes inherited from vg::attr_stroke_dasharray< polygon >
std::valarray< double > _stroke_dasharray
 
- Public Attributes inherited from vg::attr_stroke_dashoffset< polygon >
double _stroke_dashoffset
 
- Public Attributes inherited from vg::attr_stroke_linejoin< polygon >
stroke_linejoin_e _stroke_linejoin
 
- Public Attributes inherited from vg::attr_stroke_linecap< polygon >
stroke_linecap_e _stroke_linecap
 
- Public Attributes inherited from vg::attr_points< polygon >
point_list_t _points
 
- Protected Member Functions inherited from vg::attrs_fill< polygon >
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< polygon >
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 17 of file polygon.cppm.

Constructor & Destructor Documentation

◆ polygon()

vg::polygon::polygon ( )
inlineexport

Definition at line 23 of file polygon.cppm.

◆ ~polygon()

vg::polygon::~polygon ( )
inlineoverrideexport

Definition at line 26 of file polygon.cppm.

Member Function Documentation

◆ apply_to()

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

Implements vg::element_t.

Definition at line 29 of file polygon.cppm.

+ Here is the call graph for this function:

◆ get_footprint()

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

Implements vg::element_t.

Definition at line 56 of file polygon.cppm.


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