a2dWHCenter Class Reference
[a2dCanvasObject related objects]

a2dWHCenter More...

#include <canprim.h>

Inheritance diagram for a2dWHCenter:

Inheritance graph
[legend]
Collaboration diagram for a2dWHCenter:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dWHCenter ()
 default constructor
 a2dWHCenter (double xc, double yc, double w, double h)
 standard constructor
 ~a2dWHCenter ()
 destructor
 a2dWHCenter (const a2dWHCenter &other, CloneOptions options)
 copy constructor
virtual a2dObjectClone (CloneOptions options) const =0
 This is here so that this class cannot be used directly.

Static Public Attributes

static a2dPropertyIdDoublePROPID_Width = NULL
 property to get m_width
static a2dPropertyIdDoublePROPID_Height = NULL
 property to get m_height


Detailed Description

a2dWHCenter

Virtual base class for canvas objects with width and height parameters. The object has an extension from (x-w/2,y-h/2) to (x+w/2,y+h/2).

Definition at line 1076 of file canprim.h.


Constructor & Destructor Documentation

a2dWHCenter::a2dWHCenter ( double  xc,
double  yc,
double  w,
double  h 
)

standard constructor

Parameters:
xc,: x center
yc,: y center
w,: Width (double radius) of object.
h,: Heigth (double radius) of object

Definition at line 2422 of file canprim.cpp.


The documentation for this class was generated from the following files:
a2dWHCenter Class Reference -- Tue Aug 31 18:38:06 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation