kstars
EllipseNode Class Reference
#include <ellipsenode.h>
Inheritance diagram for EllipseNode:

Public Member Functions | |
EllipseNode (const QColor &color=QColor(), int width=1) | |
void | setColor (QColor color) |
void | setLineWidth (int width) |
void | updateGeometry (float x, float y, int width, int height, bool filled) |
Detailed Description
QSGTransformNode derived node used to draw ellipses.
- Version
- 1.0
Definition at line 33 of file ellipsenode.h.
Constructor & Destructor Documentation
polynode.cpp - K Desktop Planetarium
begin : 28/05/2016 copyright : (C) 2016 by Artem Fedoskin email : afedo[email protected] il.c om skin- This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. *
Definition at line 25 of file ellipsenode.cpp.
Member Function Documentation
Definition at line 45 of file ellipsenode.cpp.
void EllipseNode::setLineWidth | ( | int | width | ) |
Definition at line 54 of file ellipsenode.cpp.
void EllipseNode::updateGeometry | ( | float | x, |
float | y, | ||
int | width, | ||
int | height, | ||
bool | filled | ||
) |
Redraw ellipse with the given width, height and positions (x,y)
- Parameters
-
x position by x y position by y width the width height the height filled - if true the ellipse will be filled with color
Definition at line 63 of file ellipsenode.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Fri Dec 13 2019 02:57:16 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2019 The KDE developers.
Generated on Fri Dec 13 2019 02:57:16 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.