Ardour  9.0-pre0-582-g084a23a80d
ArdourCanvas::Fill Class Reference

#include <fill.h>

Inheritance diagram for ArdourCanvas::Fill:
[legend]

Public Types

typedef std::vector< std::pair< double, Gtkmm2ext::Color > > StopList
 

Public Member Functions

 Fill (Item &self)
 
 Fill (const Fill &)=delete
 
Filloperator= (const Fill &)=delete
 
virtual ~Fill ()
 
virtual void set_fill_color (Gtkmm2ext::Color)
 
virtual void set_fill (bool)
 
Gtkmm2ext::Color fill_color () const
 
bool fill () const
 
void set_gradient (StopList const &stops, bool is_vertical)
 
void set_pattern (Cairo::RefPtr< Cairo::Pattern >)
 

Protected Member Functions

void setup_fill_context (Cairo::RefPtr< Cairo::Context >) const
 
void setup_gradient_context (Cairo::RefPtr< Cairo::Context >, Rect const &, Duple const &) const
 

Protected Attributes

Item_self
 
Gtkmm2ext::Color _fill_color
 
bool _fill
 
bool _transparent
 
StopList _stops
 
bool _vertical_gradient
 
Cairo::RefPtr< Cairo::Pattern > _pattern
 

Detailed Description

Definition at line 34 of file fill.h.

Member Typedef Documentation

◆ StopList

typedef std::vector<std::pair<double,Gtkmm2ext::Color> > ArdourCanvas::Fill::StopList

Definition at line 53 of file fill.h.

Constructor & Destructor Documentation

◆ Fill() [1/2]

ArdourCanvas::Fill::Fill ( Item self)

◆ Fill() [2/2]

ArdourCanvas::Fill::Fill ( const Fill )
delete

◆ ~Fill()

virtual ArdourCanvas::Fill::~Fill ( )
inlinevirtual

Definition at line 40 of file fill.h.

Member Function Documentation

◆ fill()

bool ArdourCanvas::Fill::fill ( ) const
inline

Definition at line 49 of file fill.h.

◆ fill_color()

Gtkmm2ext::Color ArdourCanvas::Fill::fill_color ( ) const
inline

Definition at line 45 of file fill.h.

◆ operator=()

Fill& ArdourCanvas::Fill::operator= ( const Fill )
delete

◆ set_fill()

virtual void ArdourCanvas::Fill::set_fill ( bool  )
virtual

◆ set_fill_color()

virtual void ArdourCanvas::Fill::set_fill_color ( Gtkmm2ext::Color  )
virtual

◆ set_gradient()

void ArdourCanvas::Fill::set_gradient ( StopList const &  stops,
bool  is_vertical 
)

◆ set_pattern()

void ArdourCanvas::Fill::set_pattern ( Cairo::RefPtr< Cairo::Pattern >  )

◆ setup_fill_context()

void ArdourCanvas::Fill::setup_fill_context ( Cairo::RefPtr< Cairo::Context >  ) const
protected

◆ setup_gradient_context()

void ArdourCanvas::Fill::setup_gradient_context ( Cairo::RefPtr< Cairo::Context >  ,
Rect const &  ,
Duple const &   
) const
protected

Member Data Documentation

◆ _fill

bool ArdourCanvas::Fill::_fill
protected

Definition at line 65 of file fill.h.

◆ _fill_color

Gtkmm2ext::Color ArdourCanvas::Fill::_fill_color
protected

Definition at line 64 of file fill.h.

◆ _pattern

Cairo::RefPtr<Cairo::Pattern> ArdourCanvas::Fill::_pattern
protected

Definition at line 69 of file fill.h.

◆ _self

Item& ArdourCanvas::Fill::_self
protected

Definition at line 63 of file fill.h.

◆ _stops

StopList ArdourCanvas::Fill::_stops
protected

Definition at line 67 of file fill.h.

◆ _transparent

bool ArdourCanvas::Fill::_transparent
protected

Definition at line 66 of file fill.h.

◆ _vertical_gradient

bool ArdourCanvas::Fill::_vertical_gradient
protected

Definition at line 68 of file fill.h.


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