#include <fill.h>
Public Member Functions | |
PAPYRUS_RENDERABLE (Fill) | |
~Fill () | |
Fill & | operator= (const Fill &other) |
bool | operator== (const Fill &other) const |
bool | operator!= (const Fill &other) const |
Paint::pointer | paint () |
void | set_paint (Paint::pointer paint=Paint::pointer()) |
Cairo::FillRule | fill_rule () |
void | set_fill_rule (Cairo::FillRule rule) |
virtual void | render (Context &cairo) const |
virtual Glib::ustring | svg (unsigned depth=0) |
sigc::signal< void > | signal_paint_changed () |
sigc::signal< void > | signal_fill_rule_changed () |
Static Public Member Functions | |
static pointer | create (Paint::pointer paint=Paint::pointer(), Cairo::FillRule rule=Cairo::FILL_RULE_WINDING) |
static pointer | create (Cairo::RefPtr< Cairo::Pattern > pattern, Cairo::FillRule rule=Cairo::FILL_RULE_WINDING) |
static pointer | create (const RGBA &rgba, Cairo::FillRule rule=Cairo::FILL_RULE_WINDING) |
static pointer | create (const Glib::ustring &color, Cairo::FillRule rule=Cairo::FILL_RULE_WINDING) |
Protected Member Functions | |
Fill (Paint::pointer paint, Cairo::FillRule rule) | |
void | on_paint_changed () |
Protected Attributes | |
Paint::pointer | m_paint |
Cairo::FillRule | m_fill_rule |
sigc::signal< void > | m_signal_paint_changed |
sigc::signal< void > | m_signal_fill_rule_changed |
sigc::connection | m_paint_changed_connection |
Papyrus::Fill::Fill | ( | Paint::pointer | paint, | |
Cairo::FillRule | rule | |||
) | [protected] |
References m_paint, m_paint_changed_connection, and on_paint_changed().
Referenced by create().
Papyrus::Fill::~Fill | ( | ) |
Fill::pointer Papyrus::Fill::create | ( | const Glib::ustring & | color, | |
Cairo::FillRule | rule = Cairo::FILL_RULE_WINDING | |||
) | [static] |
References Fill(), and Papyrus::strcaseeq().
Fill::pointer Papyrus::Fill::create | ( | const RGBA & | rgba, | |
Cairo::FillRule | rule = Cairo::FILL_RULE_WINDING | |||
) | [static] |
References Papyrus::Color::create(), and Fill().
Fill::pointer Papyrus::Fill::create | ( | Cairo::RefPtr< Cairo::Pattern > | pattern, | |
Cairo::FillRule | rule = Cairo::FILL_RULE_WINDING | |||
) | [static] |
References Papyrus::Color::create(), and Fill().
Fill::pointer Papyrus::Fill::create | ( | Paint::pointer | paint = Paint::pointer() , |
|
Cairo::FillRule | rule = Cairo::FILL_RULE_WINDING | |||
) | [static] |
Cairo::FillRule Papyrus::Fill::fill_rule | ( | ) |
References m_fill_rule.
void Papyrus::Fill::on_paint_changed | ( | ) | [protected] |
References Papyrus::Object::m_signal_changed, and m_signal_paint_changed.
Referenced by Fill(), operator=(), and set_paint().
bool Papyrus::Fill::operator!= | ( | const Fill & | other | ) | const |
References operator==().
bool Papyrus::Fill::operator== | ( | const Fill & | other | ) | const |
References m_fill_rule, and m_paint.
Referenced by operator!=().
Paint::pointer Papyrus::Fill::paint | ( | ) |
References m_paint.
Papyrus::Fill::PAPYRUS_RENDERABLE | ( | Fill | ) |
void Papyrus::Fill::render | ( | Context & | cairo | ) | const [virtual] |
Implements Papyrus::Renderable.
References m_fill_rule, m_paint, Papyrus::RENDER_HINT_FILL, and Papyrus::Context::set_flag().
void Papyrus::Fill::set_fill_rule | ( | Cairo::FillRule | rule | ) |
References m_fill_rule, Papyrus::Object::m_signal_changed, and m_signal_fill_rule_changed.
void Papyrus::Fill::set_paint | ( | Paint::pointer | paint = Paint::pointer() |
) |
sigc::signal< void > Papyrus::Fill::signal_fill_rule_changed | ( | ) |
References m_signal_fill_rule_changed.
sigc::signal< void > Papyrus::Fill::signal_paint_changed | ( | ) |
References m_signal_paint_changed.
Glib::ustring Papyrus::Fill::svg | ( | unsigned | depth = 0 |
) | [virtual] |
Reimplemented from Papyrus::Renderable.
References m_paint.
Cairo::FillRule Papyrus::Fill::m_fill_rule [protected] |
Referenced by fill_rule(), operator=(), operator==(), render(), and set_fill_rule().
Paint::pointer Papyrus::Fill::m_paint [protected] |
Referenced by Fill(), operator=(), operator==(), paint(), render(), set_paint(), and svg().
sigc::connection Papyrus::Fill::m_paint_changed_connection [protected] |
Referenced by Fill(), operator=(), and set_paint().
sigc::signal<void> Papyrus::Fill::m_signal_fill_rule_changed [protected] |
Referenced by operator=(), set_fill_rule(), and signal_fill_rule_changed().
sigc::signal<void> Papyrus::Fill::m_signal_paint_changed [protected] |
Referenced by on_paint_changed(), operator=(), set_paint(), and signal_paint_changed().