Jump to content

PM2Drawable

From EDM2

2D Base drawable class.

PM2Drawable is an abstract base class which allows a graphic object to draw itself.

Source
pm_2drawable.h:21
Author
Dmitry A Steklenev
Version
1.0

Contents

Entity Type Scope Short Description
PM2Drawable constructor public Constructs the drawable object.
~PM2Drawable destructor public Destructs the drawable object.
PM2Drawable constructor protected Constructs the drawable object from another object.
operator = operator protected Assigns the value of one drawable object to another.
draw method public Draws the graphic to the specified presentation space.
bound method public Return the bounding rectangle for this graphic.

constructor PM2Drawable

Constructs the drawable object.

Source
pm_2drawable.h:25
Code
       public PM2Drawable (	)

destructor ~PM2Drawable

Destructs the drawable object.

Source
pm_2drawable.h:27
Code
 public virtual ~ PM2Drawable ( )

constructor PM2Drawable

Constructs the drawable object from another object.

Source
pm_2drawable.h:32
Code
 protected PM2Drawable (const PM2Drawable & )

operator =

Assigns the value of one drawable object to another.

Source
pm_2drawable.h:34
Code
  protected PM2Drawable & operator = (	const PM2Drawable & )

method draw

Draws the graphic to the specified presentation space.

This is a pure virtual function.

Source
pm_2drawable.h:44
Code
       public virtual void draw (	HPS hps ) = 0

method bound

Return the bounding rectangle for this graphic.

This is a pure virtual function.

Source
pm_2drawable.h:52
Code
       public virtual PMRect bound () const = 0