26 Ellipse(
int x,
int y,
int width,
int height, QColor color,
int penWidth,
bool filled);
28 void draw(QPainter *painter)
override;
void draw(QPainter *painter) override
Draws a shape with a given painter.
Definition: ellipse.cpp:28
Base class for elements that can be drawn on display.
Definition: shape.h:22
Ellipse(int x, int y, int width, int height, QColor color, int penWidth, bool filled)
Ellipse defined by center (x,y) with given semiaxes lengths.
Definition: ellipse.cpp:19
Definition: trikCommunicator.h:27
Presents an ellipse to draw on display.
Definition: ellipse.h:22
var x
Definition: file-test.js:2
var y
Definition: file-test.js:5
bool equals(const Shape *other) const override
Checks whether to shapes are equal.
Definition: ellipse.cpp:41