EllipseCmd Class Reference

#include <draw.h>

Inheritance diagram for EllipseCmd:

PlacementCmd SlowUndoSelectCmd Cmd List of all members.

Public Member Functions

 EllipseCmd (FrameBuffer *pFB, Rect placement, DrawContext dc, bool bBack=false)
virtual void exec ()
 Command execution. This should save undo informations.
virtual std::string name ()
 Command identification. This will appear in config file.
 EllipseCmd (FrameBuffer *pFB, const std::string &args)

Static Public Attributes

static const char *const szCmdName
 command id string

Detailed Description

Ellipse draw command class. Design pattern command.

Definition at line 262 of file draw.h.


Constructor & Destructor Documentation

EllipseCmd::EllipseCmd ( FrameBuffer pFB,
Rect  placement,
DrawContext  dc,
bool  bBack = false 
) [inline]

Construct ellipse command.

Parameters:
pFB Pointer to framebuffer to work with.
placement Command placement.
dc Current draw context.
bBack Give true to use background brush.

Definition at line 271 of file draw.h.

EllipseCmd::EllipseCmd ( FrameBuffer pFB,
const std::string &  args 
) [inline]

Import ellipse command.

Parameters:
pFB Pointer to frame buffer to work with.
args Data to import -- previously returned by PlacementCmd::args() method.

Definition at line 283 of file draw.h.


Member Function Documentation

virtual void EllipseCmd::exec (  )  [virtual]

Command execution. This should save undo informations.

Reimplemented from SlowUndoSelectCmd.

virtual std::string EllipseCmd::name (  )  [inline, virtual]

Command identification. This will appear in config file.

Implements SlowUndoSelectCmd.

Definition at line 275 of file draw.h.

References szCmdName.


Member Data Documentation

const char* const EllipseCmd::szCmdName [static]

command id string

Definition at line 276 of file draw.h.

Referenced by name().


The documentation for this class was generated from the following file:
Generated on Wed Aug 29 00:01:04 2007 for GED 2006 by  doxygen 1.5.2