ardour
|
#include <cairocell.h>
Public Member Functions | |
CairoTextCell (int32_t id, double width_chars, boost::shared_ptr< CairoFontDescription > font=boost::shared_ptr< CairoFontDescription >()) | |
~CairoTextCell () | |
virtual void | set_size (Cairo::RefPtr< Cairo::Context > &) |
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 |
Protected Member Functions | |
void | set_width_chars (double wc) |
void | set_text (const std::string &txt) |
void | set_font (boost::shared_ptr< CairoFontDescription > font) |
Protected Attributes | |
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 |
Friends | |
class | CairoEditableText |
Definition at line 111 of file cairocell.h.
CairoTextCell::CairoTextCell | ( | int32_t | id, |
double | width_chars, | ||
boost::shared_ptr< CairoFontDescription > | font = boost::shared_ptr<CairoFontDescription>() |
||
) |
Definition at line 98 of file cairocell.cc.
|
inline |
Definition at line 115 of file cairocell.h.
|
inline |
Definition at line 119 of file cairocell.h.
|
inline |
Definition at line 121 of file cairocell.h.
|
virtual |
Implements CairoCell.
Definition at line 114 of file cairocell.cc.
|
inlineprotected |
Definition at line 132 of file cairocell.h.
|
virtual |
Reimplemented from CairoCell.
Reimplemented in CairoCharCell.
Definition at line 133 of file cairocell.cc.
|
protected |
Definition at line 108 of file cairocell.cc.
|
inlineprotected |
Definition at line 130 of file cairocell.h.
|
inline |
Definition at line 125 of file cairocell.h.
|
friend |
Definition at line 129 of file cairocell.h.
|
protected |
Definition at line 139 of file cairocell.h.
|
protected |
Definition at line 138 of file cairocell.h.
|
protected |
Definition at line 137 of file cairocell.h.
|
protected |
Definition at line 141 of file cairocell.h.
|
protected |
Definition at line 140 of file cairocell.h.