Jump to content

PM2Drawable

From EDM2
Revision as of 22:04, 14 March 2018 by Martini (talk | contribs) (Created page with "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 ; Versi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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