| @@ -445,6 +445,11 @@ void Graphics::drawEllipse (float x, float y, float width, float height, float l | |||||
| strokePath (p, PathStrokeType (lineThickness)); | strokePath (p, PathStrokeType (lineThickness)); | ||||
| } | } | ||||
| void Graphics::drawEllipse (const Rectangle<float>& area, float lineThickness) const | |||||
| { | |||||
| drawEllipse (area.getX(), area.getY(), area.getWidth(), area.getHeight(), lineThickness); | |||||
| } | |||||
| void Graphics::fillRoundedRectangle (float x, float y, float width, float height, float cornerSize) const | void Graphics::fillRoundedRectangle (float x, float y, float width, float height, float cornerSize) const | ||||
| { | { | ||||
| fillRoundedRectangle (coordsToRectangle (x, y, width, height), cornerSize); | fillRoundedRectangle (coordsToRectangle (x, y, width, height), cornerSize); | ||||
| @@ -352,6 +352,11 @@ public: | |||||
| void drawEllipse (float x, float y, float width, float height, | void drawEllipse (float x, float y, float width, float height, | ||||
| float lineThickness) const; | float lineThickness) const; | ||||
| /** Draws an elliptical stroke using the current colour or brush. | |||||
| @see fillEllipse, Path::addEllipse | |||||
| */ | |||||
| void drawEllipse (const Rectangle<float>& area, float lineThickness) const; | |||||
| //============================================================================== | //============================================================================== | ||||
| /** Draws a line between two points. | /** Draws a line between two points. | ||||
| The line is 1 pixel wide and drawn with the current colour or brush. | The line is 1 pixel wide and drawn with the current colour or brush. | ||||