Logo Search packages:      
Sourcecode: passepartout version File versions  Download package

Pagent Class Reference

#include <pagent.h>

Inherited by BasicFrame, and Group.

List of all members.

Detailed Description

The most general interface to anything on a Page. A Pagent has a size and a transformation matrix that defines where on the Page it is.

Definition at line 33 of file pagent.h.

Public Member Functions

virtual Boundary get_box () const =0
virtual bool get_flow_around () const
virtual Vector get_inherent_size () const =0
virtual bool get_lock () const
virtual const Matrix & get_matrix () const
virtual const std::string & get_name () const
virtual Boundary get_obstacle_boundary () const =0
virtual float get_obstacle_margin () const
virtual int get_page_num () const
Group & get_parent ()
const Group & get_parent () const
virtual std::string getTypeName () const =0
 Pagent (Group *_parent, const std::string &_name)
virtual void print (std::ostream &out, bool grayscale=false) const =0
virtual void print_pdf (PDF::Content::Ptr pdf) const =0
virtual xmlpp::Element * save (xmlpp::Element &parent_node, const FileContext &context) const =0
virtual void set_flow_around (bool _flow_around)
virtual void set_lock (bool _locked)
virtual void set_matrix (Matrix m)
virtual void set_name (const std::string &_name)
virtual void set_obstacle_margin (float margin)
virtual void set_parent (Group *parent_)
virtual void set_rotation (float angle)
virtual void set_scaling (float xfactor, float yfactor)
virtual void set_translation (const Vector &v)

Public Attributes

SigC::Signal1< void, Pagent * > geometry_changed_signal
SigC::Signal1< void, Pagent * > object_changed_signal
SigC::Signal1< void, Pagent * > props_changed_signal

Protected Member Functions

void connect_to_parent ()

Protected Attributes

SigC::Connection draw_connection
bool flow_around
SigC::Connection geometry_connection
bool locked
Matrix matrix
std::string name
float obstacle_margin
Group * parent
SigC::Connection props_connection

Private Member Functions

void operator= (const Pagent &)
 Pagent (const Pagent &)


class  Resizable

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

Generated by  Doxygen 1.6.0   Back to index