Public Member Functions | Static Public Member Functions

vgfx::Primitive Class Reference
[Vector Graphics Engine]

the base class from which all vector graphics objects inherit. More...

#include <vgfx.h>

Inheritance diagram for vgfx::Primitive:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Primitive (void) throw ()
virtual ~Primitive (void) throw ()
virtual long getRefCount (void) const throw ()
virtual void incrementRefCount (void) throw ()
virtual void decrementRefCount (void) throw ()
virtual const char * getID (void) const throw ()
virtual void setID (IN const char *id)
virtual const char * getType (void) const =0 throw ()
virtual void persist (OUT std::ostream &stream) const =0
virtual void listContainers (IN const VecString &path, OUT VecString &ids) const
virtual bool doesContainerExist (IN const VecString &path) const
virtual bool canCreateContainer (IN const VecString &path) const
virtual void removeContainer (IN const VecString &path)
virtual void getContainerDictionary (IN const VecString &path, OUT dictionary_t &data) const
virtual void setContainerDictionary (IN const VecString &path, IN const dictionary_t &data)
virtual void recalcBoundingRect (IN const char *tag_path, IN Drawer *drawer, IN const xform_2d_t &T)=0
virtual bool getBoundingRect (OUT rect_t &r) const =0 throw ()
virtual bool getPrimitive (IN const char *tag_path, IN const xform_2d_t &T, OUT visit_result_t &vr)
virtual void draw (IN Drawer *drawer, IN const rect_t &r_pix, IN const xform_2d_t &T)=0
 draw this primitive and all children, recursively
virtual bool visit (IN const rect_t &r, IN const xform_2d_t &T, IN const char *tag_path, IN callback_t callback, IN void *context, IN eHitDetect hit)

Static Public Member Functions

static smart_ptr< Primitivecreate (IN const char *type, IN const dictionary_t &data)

Detailed Description

the base class from which all vector graphics objects inherit.

Definition at line 156 of file vgfx.h.


Constructor & Destructor Documentation

vgfx::Primitive::Primitive ( void   )  throw ()

Definition at line 52 of file vgfx.cpp.


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