ddt
0.1
|
#include <ddtGraphicalElementEllipse.hpp>
Public Member Functions | |
DdtGraphicalElementEllipse (DdtGraphicalElementProperties element_properties, int x, int y, int r1, int r2) | |
virtual | ~DdtGraphicalElementEllipse () |
virtual void | DrawElement (QPainter *painter) |
QRectF | boundingRect () const |
int | type () const |
![]() | |
DdtGraphicalElement (DdtGraphicalElementProperties element_properties) | |
virtual | ~DdtGraphicalElement () |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
virtual bool | IsHidden () |
virtual float | ScaleThreshold () |
virtual void | SetShowFlag (bool show) |
virtual DdtOverlayType | GetType () |
virtual QString | GetTypeString () |
virtual QString | GetTag () |
Protected Attributes | |
int | x |
int | y |
int | r1 |
int | r2 |
![]() | |
DdtGraphicalElementProperties | element_properties |
DdtOverlayType | element_type |
Class for the graphical elements drawing ellipses
|
explicit |
Constructor
|
virtualdefault |
Destructor
|
virtual |
Function returning the bounding box of the graphics item
Reimplemented from DdtGraphicalElement.
|
virtual |
Virtual function for rendering the graphical element
Implements DdtGraphicalElement.
int DdtGraphicalElementEllipse::type | ( | ) | const |
Check type of graphics item
|
protected |
first radius
|
protected |
second radius
|
protected |
x position of center
|
protected |
y position of center