papyrus logo

Papyrus::Fill Class Reference

#include <fill.h>

Inheritance diagram for Papyrus::Fill:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 PAPYRUS_RENDERABLE (Fill)
 ~Fill ()
Filloperator= (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

Detailed Description

Author:
Rick L Vinyard Jr <rvinyard@cs.nmsu.edu>

Constructor & Destructor Documentation

Papyrus::Fill::Fill ( Paint::pointer  paint,
Cairo::FillRule  rule 
) [protected]
Papyrus::Fill::~Fill (  ) 

Member Function Documentation

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]
bool Papyrus::Fill::operator!= ( const Fill other  )  const

References operator==().

Fill & Papyrus::Fill::operator= ( const Fill other  ) 
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]
void Papyrus::Fill::set_fill_rule ( Cairo::FillRule  rule  ) 
void Papyrus::Fill::set_paint ( Paint::pointer  paint = Paint::pointer()  ) 
sigc::signal< void > Papyrus::Fill::signal_fill_rule_changed (  ) 
sigc::signal< void > Papyrus::Fill::signal_paint_changed (  ) 
Glib::ustring Papyrus::Fill::svg ( unsigned  depth = 0  )  [virtual]

Reimplemented from Papyrus::Renderable.

References m_paint.


Member Data Documentation

Cairo::FillRule Papyrus::Fill::m_fill_rule [protected]
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]
sigc::signal<void> Papyrus::Fill::m_signal_paint_changed [protected]

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

Generated on Fri Apr 16 12:41:07 2010 for papyrus by doxygen 1.6.1