#include <papyrus/boxed.h>
Inheritance diagram for Papyrus::Boxed:
Public Types | |
typedef PapyrusSmartPointer< Boxed > | pointer |
Public Member Functions | |
Rectangle::pointer | get_box () |
virtual bool | add (Drawable::pointer item, bool drawing_only=true) |
PAPYRUS_CLASS_NAME ("Boxed Group") | |
PAPYRUS_CLONE_METHOD (Boxed) | |
Static Public Member Functions | |
static Boxed::pointer | create () |
Protected Member Functions | |
virtual void | draw (Cairo::RefPtr< Cairo::Context > cairo) |
Reimplements Group draw method to include drawing of bounding box last (on top). | |
virtual void | update_extents () |
Reimplements Group's behavior when extents need to be updated. | |
Protected Attributes | |
Rectangle::pointer | m_box |
void Boxed::update_extents | ( | ) | [protected, virtual] |
Reimplements Group's behavior when extents need to be updated.
Performs same behavior, but also adjusts rectangle x, y, w, h.
Reimplemented from Papyrus::Group.
Reimplemented in Papyrus::Handlebox.