#include <types.hh>
Public Member Functions | |
| Circle (int x, int y, int radius) | |
| void | draw (core::View *view, core::style::Style *style, int x, int y) |
| bool | isPointWithin (int x, int y) |
Public Attributes | |
| int | x |
| int | y |
| int | radius |
| dw::core::Circle::Circle | ( | int | x, | |
| int | y, | |||
| int | radius | |||
| ) |
| void dw::core::Circle::draw | ( | core::View * | view, | |
| core::style::Style * | style, | |||
| int | x, | |||
| int | y | |||
| ) | [virtual] |
Implements dw::core::Shape.
References dw::core::style::StyleAttrs::color, dw::core::View::drawArc(), and dw::core::style::Color::SHADING_NORMAL.
| bool dw::core::Circle::isPointWithin | ( | int | x, | |
| int | y | |||
| ) | [virtual] |
Referenced by isPointWithin().
1.5.9