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

Public Member Functions

 polyline ()
 
 ~polyline () 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< polyline >
polylinehidden (bool &_hidden_)
 
polylinehidden (bool &&_hidden_)
 
- Public Member Functions inherited from vg::attr_opacity< polyline >
polylineopacity (float &_opacity_)
 
polylineopacity (float &&_opacity_)
 
- Public Member Functions inherited from vg::attr_fill< polyline >
polylinefill (vg::paint::type &_fill_)
 
polylinefill (vg::paint::type &&_fill_)
 
polylinefill (vg::paint::solid &_fill_)
 
polylinefill (vg::paint::solid &&_fill_)
 
polylinefill (vg::paint::gradient::linear &_fill_)
 
polylinefill (vg::paint::gradient::linear &&_fill_)
 
polylinefill (vg::paint::gradient::radial &_fill_)
 
polylinefill (vg::paint::gradient::radial &&_fill_)
 
- Public Member Functions inherited from vg::attr_fill_opacity< polyline >
polylinefill_opacity (double &_fill_opacity_)
 
polylinefill_opacity (double &&_fill_opacity_)
 
- Public Member Functions inherited from vg::attr_fill_rule< polyline >
polylinefill_rule (fill_rule_e &_fill_rule_)
 
polylinefill_rule (fill_rule_e &&_fill_rule_)
 
- Public Member Functions inherited from vg::attr_stroke< polyline >
polylinestroke (vg::paint::type &_stroke_)
 
polylinestroke (vg::paint::type &&_stroke_)
 
polylinestroke (vg::paint::solid &_stroke_)
 
polylinestroke (vg::paint::solid &&_stroke_)
 
polylinestroke (vg::paint::gradient::linear &_stroke_)
 
polylinestroke (vg::paint::gradient::linear &&_stroke_)
 
polylinestroke (vg::paint::gradient::radial &_stroke_)
 
polylinestroke (vg::paint::gradient::radial &&_stroke_)
 
- Public Member Functions inherited from vg::attr_stroke_width< polyline >
polylinestroke_width (const quantify::quantity_t< UNIT, T > &_stroke_width_)
 
polylinestroke_width (quantify::quantity_t< UNIT, T > &&_stroke_width_)
 
polylinestroke_width (const int &_stroke_width_)
 
polylinestroke_width (int &&_stroke_width_)
 
- Public Member Functions inherited from vg::attr_stroke_opacity< polyline >
polylinestroke_opacity (float &_stroke_opacity_)
 
polylinestroke_opacity (float &&_stroke_opacity_)
 
- Public Member Functions inherited from vg::attr_stroke_miterlimit< polyline >
polylinestroke_miterlimit (int &_stroke_miterlimit_)
 
polylinestroke_miterlimit (int &&_stroke_miterlimit_)
 
- Public Member Functions inherited from vg::attr_stroke_dasharray< polyline >
polylinestroke_dasharray (std::valarray< double > &_stroke_dasharray_)
 
polylinestroke_dasharray (std::valarray< double > &&_stroke_dasharray_)
 
- Public Member Functions inherited from vg::attr_stroke_dashoffset< polyline >
polylinestroke_dashoffset (double &_stroke_dashoffset_)
 
polylinestroke_dashoffset (double &&_stroke_dashoffset_)
 
- Public Member Functions inherited from vg::attr_stroke_linejoin< polyline >
polylinestroke_linejoin (stroke_linejoin_e &_stroke_linejoin_)
 
polylinestroke_linejoin (stroke_linejoin_e &&_stroke_linejoin_)
 
- Public Member Functions inherited from vg::attr_stroke_linecap< polyline >
polylinestroke_linecap (stroke_linecap_e &_stroke_linecap_)
 
polylinestroke_linecap (stroke_linecap_e &&_stroke_linecap_)
 
- Public Member Functions inherited from vg::attr_points< polyline >
polylinepoints (point_list_t &_points_)
 
polylinepoints (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< polyline >
bool _hidden
 
- Public Attributes inherited from vg::attr_opacity< polyline >
float _opacity
 
- Public Attributes inherited from vg::attr_fill< polyline >
vg::paint::type _fill
 
- Public Attributes inherited from vg::attr_fill_opacity< polyline >
double _fill_opacity
 
- Public Attributes inherited from vg::attr_fill_rule< polyline >
fill_rule_e _fill_rule
 
- Public Attributes inherited from vg::attr_stroke< polyline >
vg::paint::type _stroke
 
- Public Attributes inherited from vg::attr_stroke_width< polyline >
int _stroke_width
 
- Public Attributes inherited from vg::attr_stroke_opacity< polyline >
float _stroke_opacity
 
- Public Attributes inherited from vg::attr_stroke_miterlimit< polyline >
int _stroke_miterlimit
 
- Public Attributes inherited from vg::attr_stroke_dasharray< polyline >
std::valarray< double > _stroke_dasharray
 
- Public Attributes inherited from vg::attr_stroke_dashoffset< polyline >
double _stroke_dashoffset
 
- Public Attributes inherited from vg::attr_stroke_linejoin< polyline >
stroke_linejoin_e _stroke_linejoin
 
- Public Attributes inherited from vg::attr_stroke_linecap< polyline >
stroke_linecap_e _stroke_linecap
 
- Public Attributes inherited from vg::attr_points< polyline >
point_list_t _points
 
- Protected Member Functions inherited from vg::attrs_fill< polyline >
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< polyline >
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 polyline.cppm.

Constructor & Destructor Documentation

◆ polyline()

vg::polyline::polyline ( )
inlineexport

Definition at line 22 of file polyline.cppm.

◆ ~polyline()

vg::polyline::~polyline ( )
inlineoverrideexport

Definition at line 25 of file polyline.cppm.

Member Function Documentation

◆ apply_to()

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

Implements vg::element_t.

Definition at line 28 of file polyline.cppm.

+ Here is the call graph for this function:

◆ get_footprint()

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

Implements vg::element_t.

Definition at line 53 of file polyline.cppm.


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