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

Public Member Functions

 path ()
 
 ~path () 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< path >
pathhidden (bool &_hidden_)
 
pathhidden (bool &&_hidden_)
 
- Public Member Functions inherited from vg::attr_opacity< path >
pathopacity (float &_opacity_)
 
pathopacity (float &&_opacity_)
 
- Public Member Functions inherited from vg::attr_fill< path >
pathfill (vg::paint::type &_fill_)
 
pathfill (vg::paint::type &&_fill_)
 
pathfill (vg::paint::solid &_fill_)
 
pathfill (vg::paint::solid &&_fill_)
 
pathfill (vg::paint::gradient::linear &_fill_)
 
pathfill (vg::paint::gradient::linear &&_fill_)
 
pathfill (vg::paint::gradient::radial &_fill_)
 
pathfill (vg::paint::gradient::radial &&_fill_)
 
- Public Member Functions inherited from vg::attr_fill_opacity< path >
pathfill_opacity (double &_fill_opacity_)
 
pathfill_opacity (double &&_fill_opacity_)
 
- Public Member Functions inherited from vg::attr_fill_rule< path >
pathfill_rule (fill_rule_e &_fill_rule_)
 
pathfill_rule (fill_rule_e &&_fill_rule_)
 
- Public Member Functions inherited from vg::attr_stroke< path >
pathstroke (vg::paint::type &_stroke_)
 
pathstroke (vg::paint::type &&_stroke_)
 
pathstroke (vg::paint::solid &_stroke_)
 
pathstroke (vg::paint::solid &&_stroke_)
 
pathstroke (vg::paint::gradient::linear &_stroke_)
 
pathstroke (vg::paint::gradient::linear &&_stroke_)
 
pathstroke (vg::paint::gradient::radial &_stroke_)
 
pathstroke (vg::paint::gradient::radial &&_stroke_)
 
- Public Member Functions inherited from vg::attr_stroke_width< path >
pathstroke_width (const quantify::quantity_t< UNIT, T > &_stroke_width_)
 
pathstroke_width (quantify::quantity_t< UNIT, T > &&_stroke_width_)
 
pathstroke_width (const int &_stroke_width_)
 
pathstroke_width (int &&_stroke_width_)
 
- Public Member Functions inherited from vg::attr_stroke_opacity< path >
pathstroke_opacity (float &_stroke_opacity_)
 
pathstroke_opacity (float &&_stroke_opacity_)
 
- Public Member Functions inherited from vg::attr_stroke_miterlimit< path >
pathstroke_miterlimit (int &_stroke_miterlimit_)
 
pathstroke_miterlimit (int &&_stroke_miterlimit_)
 
- Public Member Functions inherited from vg::attr_stroke_dasharray< path >
pathstroke_dasharray (std::valarray< double > &_stroke_dasharray_)
 
pathstroke_dasharray (std::valarray< double > &&_stroke_dasharray_)
 
- Public Member Functions inherited from vg::attr_stroke_dashoffset< path >
pathstroke_dashoffset (double &_stroke_dashoffset_)
 
pathstroke_dashoffset (double &&_stroke_dashoffset_)
 
- Public Member Functions inherited from vg::attr_stroke_linejoin< path >
pathstroke_linejoin (stroke_linejoin_e &_stroke_linejoin_)
 
pathstroke_linejoin (stroke_linejoin_e &&_stroke_linejoin_)
 
- Public Member Functions inherited from vg::attr_stroke_linecap< path >
pathstroke_linecap (stroke_linecap_e &_stroke_linecap_)
 
pathstroke_linecap (stroke_linecap_e &&_stroke_linecap_)
 
- Public Member Functions inherited from vg::attr_path_str< path >
pathpath_str (std::string &_path_str_)
 
pathpath_str (std::string &&_path_str_)
 

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

Constructor & Destructor Documentation

◆ path()

vg::path::path ( )
inlineexport

Definition at line 22 of file path.cppm.

◆ ~path()

vg::path::~path ( )
inlineoverrideexport

Definition at line 25 of file path.cppm.

Member Function Documentation

◆ apply_to()

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

Implements vg::element_t.

Definition at line 28 of file path.cppm.

+ Here is the call graph for this function:

◆ get_footprint()

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

Implements vg::element_t.

Definition at line 33 of file path.cppm.


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