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

Public Member Functions

 arc ()
 
 ~arc () 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< arc >
archidden (bool &_hidden_)
 
archidden (bool &&_hidden_)
 
- Public Member Functions inherited from vg::attr_opacity< arc >
arcopacity (float &_opacity_)
 
arcopacity (float &&_opacity_)
 
- Public Member Functions inherited from vg::attr_fill< arc >
arcfill (vg::paint::type &_fill_)
 
arcfill (vg::paint::type &&_fill_)
 
arcfill (vg::paint::solid &_fill_)
 
arcfill (vg::paint::solid &&_fill_)
 
arcfill (vg::paint::gradient::linear &_fill_)
 
arcfill (vg::paint::gradient::linear &&_fill_)
 
arcfill (vg::paint::gradient::radial &_fill_)
 
arcfill (vg::paint::gradient::radial &&_fill_)
 
- Public Member Functions inherited from vg::attr_fill_opacity< arc >
arcfill_opacity (double &_fill_opacity_)
 
arcfill_opacity (double &&_fill_opacity_)
 
- Public Member Functions inherited from vg::attr_fill_rule< arc >
arcfill_rule (fill_rule_e &_fill_rule_)
 
arcfill_rule (fill_rule_e &&_fill_rule_)
 
- Public Member Functions inherited from vg::attr_stroke< arc >
arcstroke (vg::paint::type &_stroke_)
 
arcstroke (vg::paint::type &&_stroke_)
 
arcstroke (vg::paint::solid &_stroke_)
 
arcstroke (vg::paint::solid &&_stroke_)
 
arcstroke (vg::paint::gradient::linear &_stroke_)
 
arcstroke (vg::paint::gradient::linear &&_stroke_)
 
arcstroke (vg::paint::gradient::radial &_stroke_)
 
arcstroke (vg::paint::gradient::radial &&_stroke_)
 
- Public Member Functions inherited from vg::attr_stroke_width< arc >
arcstroke_width (const quantify::quantity_t< UNIT, T > &_stroke_width_)
 
arcstroke_width (quantify::quantity_t< UNIT, T > &&_stroke_width_)
 
arcstroke_width (const int &_stroke_width_)
 
arcstroke_width (int &&_stroke_width_)
 
- Public Member Functions inherited from vg::attr_stroke_opacity< arc >
arcstroke_opacity (float &_stroke_opacity_)
 
arcstroke_opacity (float &&_stroke_opacity_)
 
- Public Member Functions inherited from vg::attr_stroke_miterlimit< arc >
arcstroke_miterlimit (int &_stroke_miterlimit_)
 
arcstroke_miterlimit (int &&_stroke_miterlimit_)
 
- Public Member Functions inherited from vg::attr_stroke_dasharray< arc >
arcstroke_dasharray (std::valarray< double > &_stroke_dasharray_)
 
arcstroke_dasharray (std::valarray< double > &&_stroke_dasharray_)
 
- Public Member Functions inherited from vg::attr_stroke_dashoffset< arc >
arcstroke_dashoffset (double &_stroke_dashoffset_)
 
arcstroke_dashoffset (double &&_stroke_dashoffset_)
 
- Public Member Functions inherited from vg::attr_stroke_linejoin< arc >
arcstroke_linejoin (stroke_linejoin_e &_stroke_linejoin_)
 
arcstroke_linejoin (stroke_linejoin_e &&_stroke_linejoin_)
 
- Public Member Functions inherited from vg::attr_stroke_linecap< arc >
arcstroke_linecap (stroke_linecap_e &_stroke_linecap_)
 
arcstroke_linecap (stroke_linecap_e &&_stroke_linecap_)
 
- Public Member Functions inherited from vg::attr_cx< arc >
arccx (const quantify::quantity_t< UNIT, T > &_cx_)
 
arccx (quantify::quantity_t< UNIT, T > &&_cx_)
 
arccx (const int &_cx_)
 
arccx (int &&_cx_)
 
- Public Member Functions inherited from vg::attr_cy< arc >
arccy (const quantify::quantity_t< UNIT, T > &_cy_)
 
arccy (quantify::quantity_t< UNIT, T > &&_cy_)
 
arccy (const int &_cy_)
 
arccy (int &&_cy_)
 
- Public Member Functions inherited from vg::attr_r< arc >
arcr (const quantify::quantity_t< UNIT, T > &_r_)
 
arcr (quantify::quantity_t< UNIT, T > &&_r_)
 
arcr (const int &_r_)
 
arcr (int &&_r_)
 
- Public Member Functions inherited from vg::attr_a1< arc >
arca1 (double &_a1_)
 
arca1 (double &&_a1_)
 
- Public Member Functions inherited from vg::attr_a2< arc >
arca2 (double &_a2_)
 
arca2 (double &&_a2_)
 

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< arc >
bool _hidden
 
- Public Attributes inherited from vg::attr_opacity< arc >
float _opacity
 
- Public Attributes inherited from vg::attr_fill< arc >
vg::paint::type _fill
 
- Public Attributes inherited from vg::attr_fill_opacity< arc >
double _fill_opacity
 
- Public Attributes inherited from vg::attr_fill_rule< arc >
fill_rule_e _fill_rule
 
- Public Attributes inherited from vg::attr_stroke< arc >
vg::paint::type _stroke
 
- Public Attributes inherited from vg::attr_stroke_width< arc >
int _stroke_width
 
- Public Attributes inherited from vg::attr_stroke_opacity< arc >
float _stroke_opacity
 
- Public Attributes inherited from vg::attr_stroke_miterlimit< arc >
int _stroke_miterlimit
 
- Public Attributes inherited from vg::attr_stroke_dasharray< arc >
std::valarray< double > _stroke_dasharray
 
- Public Attributes inherited from vg::attr_stroke_dashoffset< arc >
double _stroke_dashoffset
 
- Public Attributes inherited from vg::attr_stroke_linejoin< arc >
stroke_linejoin_e _stroke_linejoin
 
- Public Attributes inherited from vg::attr_stroke_linecap< arc >
stroke_linecap_e _stroke_linecap
 
- Public Attributes inherited from vg::attr_cx< arc >
int _cx
 
- Public Attributes inherited from vg::attr_cy< arc >
int _cy
 
- Public Attributes inherited from vg::attr_r< arc >
int _r
 
- Public Attributes inherited from vg::attr_a1< arc >
double _a1
 
- Public Attributes inherited from vg::attr_a2< arc >
double _a2
 
- Protected Member Functions inherited from vg::attrs_fill< arc >
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< arc >
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 arc.cppm.

Constructor & Destructor Documentation

◆ arc()

vg::arc::arc ( )
inlineexport

Definition at line 26 of file arc.cppm.

◆ ~arc()

vg::arc::~arc ( )
inlineoverrideexport

Definition at line 29 of file arc.cppm.

Member Function Documentation

◆ apply_to()

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

Implements vg::element_t.

Definition at line 32 of file arc.cppm.

+ Here is the call graph for this function:

◆ get_footprint()

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

Implements vg::element_t.

Definition at line 54 of file arc.cppm.


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