ardour
Public Member Functions | List of all members
CairoCharCell Class Reference

#include <cairocell.h>

Inheritance diagram for CairoCharCell:
CairoTextCell CairoCell

Public Member Functions

 CairoCharCell (int32_t id, char c)
 
void set_size (Cairo::RefPtr< Cairo::Context > &context)
 
- Public Member Functions inherited from CairoTextCell
 CairoTextCell (int32_t id, double width_chars, boost::shared_ptr< CairoFontDescription > font=boost::shared_ptr< CairoFontDescription >())
 
 ~CairoTextCell ()
 
boost::shared_ptr
< CairoFontDescription
font () const
 
std::string get_text () const
 
double width_chars () const
 
void render (Cairo::RefPtr< Cairo::Context > &)
 
- Public Member Functions inherited from CairoCell
 CairoCell (int32_t id)
 
virtual ~CairoCell ()
 
int32_t id () const
 
double x () const
 
double y () const
 
double width () const
 
double height () const
 
void set_position (double x, double y)
 
bool intersects (GdkRectangle &r) const
 
bool covers (double x, double y) const
 
double xpad () const
 
void set_xpad (double x)
 
void set_visible (bool yn)
 
bool visible () const
 

Additional Inherited Members

- Protected Member Functions inherited from CairoTextCell
void set_width_chars (double wc)
 
void set_text (const std::string &txt)
 
void set_font (boost::shared_ptr< CairoFontDescription > font)
 
- Protected Attributes inherited from CairoTextCell
double _width_chars
 
std::string _text
 
boost::shared_ptr
< CairoFontDescription
_font
 
double y_offset
 
double x_offset
 
- Protected Attributes inherited from CairoCell
int32_t _id
 
GdkRectangle bbox
 
bool _visible
 
uint32_t _xpad
 

Detailed Description

Definition at line 144 of file cairocell.h.

Constructor & Destructor Documentation

CairoCharCell::CairoCharCell ( int32_t  id,
char  c 
)

Definition at line 170 of file cairocell.cc.

Member Function Documentation

void CairoCharCell::set_size ( Cairo::RefPtr< Cairo::Context > &  context)
virtual

Reimplemented from CairoTextCell.

Definition at line 177 of file cairocell.cc.


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