CircleShape Class Reference

Inherits Shape.

Collaboration diagram for CircleShape:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CircleShape (double x, double y, double radius, DrawingAPI *drawingAPI)
void draw ()
void resizeByPercentage (double pct)

Private Attributes

double m_x
double m_y
double m_radius
DrawingAPIm_drawingAPI


Detailed Description

Definition at line 40 of file Bridge.cpp.


Constructor & Destructor Documentation

CircleShape::CircleShape ( double  x,
double  y,
double  radius,
DrawingAPI drawingAPI 
) [inline]

Definition at line 42 of file Bridge.cpp.


Member Function Documentation

void CircleShape::draw (  )  [inline, virtual]

Implements Shape.

Definition at line 45 of file Bridge.cpp.

References DrawingAPI::drawCircle(), m_drawingAPI, m_radius, m_x, and m_y.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void CircleShape::resizeByPercentage ( double  pct  )  [inline, virtual]

Implements Shape.

Definition at line 48 of file Bridge.cpp.

References m_radius.

Referenced by main().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 53 of file Bridge.cpp.

Referenced by draw().

double CircleShape::m_radius [private]

Definition at line 52 of file Bridge.cpp.

Referenced by draw(), and resizeByPercentage().

double CircleShape::m_x [private]

Definition at line 52 of file Bridge.cpp.

Referenced by draw().

double CircleShape::m_y [private]

Definition at line 52 of file Bridge.cpp.

Referenced by draw().


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

Generated on Fri Mar 20 12:16:28 2009 for Bridge Design Pattern by  doxygen 1.5.8