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

Public Member Functions

 solid ()=default
 
 solid (color::Color _c)
 
void apply_to_source (pixelmap_editor_t &editor, double opacity) const override
 
color::Color sample (int x, int y) const override
 
base_imake_copy () const override
 
paint_type_e get_type () const override
 
bool operator== (const base_i &rhl) const override
 
- Public Member Functions inherited from vg::paint::base_i
virtual ~base_i ()=default
 

Public Attributes

color::Color c = "#00000000"_color
 

Detailed Description

Definition at line 34 of file attributes.cppm.

Constructor & Destructor Documentation

◆ solid() [1/2]

vg::paint::solid::solid ( )
exportdefault
+ Here is the caller graph for this function:

◆ solid() [2/2]

vg::paint::solid::solid ( color::Color _c)
inlineexport

Definition at line 38 of file attributes.cppm.

Member Function Documentation

◆ apply_to_source()

void vg::paint::solid::apply_to_source ( pixelmap_editor_t & editor,
double opacity ) const
inlineoverrideexportvirtual

Implements vg::paint::base_i.

Definition at line 41 of file attributes.cppm.

◆ get_type()

paint_type_e vg::paint::solid::get_type ( ) const
inlineoverrideexportvirtual

Implements vg::paint::base_i.

Definition at line 54 of file attributes.cppm.

+ Here is the caller graph for this function:

◆ make_copy()

base_i * vg::paint::solid::make_copy ( ) const
inlinenodiscardoverrideexportvirtual

Implements vg::paint::base_i.

Definition at line 50 of file attributes.cppm.

+ Here is the call graph for this function:

◆ operator==()

bool vg::paint::solid::operator== ( const base_i & rhl) const
inlineoverrideexportvirtual

Implements vg::paint::base_i.

Definition at line 58 of file attributes.cppm.

+ Here is the call graph for this function:

◆ sample()

color::Color vg::paint::solid::sample ( int x,
int y ) const
inlineoverrideexportvirtual

Implements vg::paint::base_i.

Definition at line 45 of file attributes.cppm.


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