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 |
DrawingAPI * | m_drawingAPI |
Definition at line 40 of file Bridge.cpp.
CircleShape::CircleShape | ( | double | x, | |
double | y, | |||
double | radius, | |||
DrawingAPI * | drawingAPI | |||
) | [inline] |
Definition at line 42 of file Bridge.cpp.
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().
void CircleShape::resizeByPercentage | ( | double | pct | ) | [inline, virtual] |
Implements Shape.
Definition at line 48 of file Bridge.cpp.
References m_radius.
Referenced by main().
DrawingAPI* CircleShape::m_drawingAPI [private] |
double CircleShape::m_radius [private] |
double CircleShape::m_x [private] |
double CircleShape::m_y [private] |