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

Protected Member Functions

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
 

Additional Inherited Members

- Public Member Functions inherited from vg::attr_stroke< T >
T & stroke (vg::paint::type &_stroke_)
 
T & stroke (vg::paint::type &&_stroke_)
 
T & stroke (vg::paint::solid &_stroke_)
 
T & stroke (vg::paint::solid &&_stroke_)
 
T & stroke (vg::paint::gradient::linear &_stroke_)
 
T & stroke (vg::paint::gradient::linear &&_stroke_)
 
T & stroke (vg::paint::gradient::radial &_stroke_)
 
T & stroke (vg::paint::gradient::radial &&_stroke_)
 
- Public Member Functions inherited from vg::attr_stroke_width< T >
T & stroke_width (const quantify::quantity_t< UNIT, T > &_stroke_width_)
 
T & stroke_width (quantify::quantity_t< UNIT, T > &&_stroke_width_)
 
T & stroke_width (const int &_stroke_width_)
 
T & stroke_width (int &&_stroke_width_)
 
- Public Member Functions inherited from vg::attr_stroke_opacity< T >
T & stroke_opacity (float &_stroke_opacity_)
 
T & stroke_opacity (float &&_stroke_opacity_)
 
- Public Member Functions inherited from vg::attr_stroke_miterlimit< T >
T & stroke_miterlimit (int &_stroke_miterlimit_)
 
T & stroke_miterlimit (int &&_stroke_miterlimit_)
 
- Public Member Functions inherited from vg::attr_stroke_dasharray< T >
T & stroke_dasharray (std::valarray< double > &_stroke_dasharray_)
 
T & stroke_dasharray (std::valarray< double > &&_stroke_dasharray_)
 
- Public Member Functions inherited from vg::attr_stroke_dashoffset< T >
T & stroke_dashoffset (double &_stroke_dashoffset_)
 
T & stroke_dashoffset (double &&_stroke_dashoffset_)
 
- Public Member Functions inherited from vg::attr_stroke_linejoin< T >
T & stroke_linejoin (stroke_linejoin_e &_stroke_linejoin_)
 
T & stroke_linejoin (stroke_linejoin_e &&_stroke_linejoin_)
 
- Public Member Functions inherited from vg::attr_stroke_linecap< T >
T & stroke_linecap (stroke_linecap_e &_stroke_linecap_)
 
T & stroke_linecap (stroke_linecap_e &&_stroke_linecap_)
 
- Public Attributes inherited from vg::attr_stroke< T >
vg::paint::type _stroke
 
- Public Attributes inherited from vg::attr_stroke_width< T >
int _stroke_width
 
- Public Attributes inherited from vg::attr_stroke_opacity< T >
float _stroke_opacity
 
- Public Attributes inherited from vg::attr_stroke_miterlimit< T >
int _stroke_miterlimit
 
- Public Attributes inherited from vg::attr_stroke_dasharray< T >
std::valarray< double > _stroke_dasharray
 
- Public Attributes inherited from vg::attr_stroke_dashoffset< T >
double _stroke_dashoffset
 
- Public Attributes inherited from vg::attr_stroke_linejoin< T >
stroke_linejoin_e _stroke_linejoin
 
- Public Attributes inherited from vg::attr_stroke_linecap< T >
stroke_linecap_e _stroke_linecap
 

Detailed Description

template<typename T>
struct vg::attrs_stroke< T >

Definition at line 466 of file attributes.cppm.

Member Function Documentation

◆ apply_stroke()

template<typename T>
void vg::attrs_stroke< T >::apply_stroke ( pixelmap_editor_t & editor) const
inlineexportprotected

Definition at line 475 of file attributes.cppm.

◆ sample_stroke()

template<typename T>
color::Color vg::attrs_stroke< T >::sample_stroke ( int x,
int y ) const
inlinenodiscardexportprotected

Definition at line 488 of file attributes.cppm.

◆ set_source_to_stroke()

template<typename T>
void vg::attrs_stroke< T >::set_source_to_stroke ( pixelmap_editor_t & editor) const
inlineexportprotected

Definition at line 483 of file attributes.cppm.


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