kstars
FOV Class Reference
#include <fov.h>
Public Types | |
enum | Shape { SQUARE, CIRCLE, CROSSHAIRS, BULLSEYE, SOLIDCIRCLE, UNKNOWN } |
Public Member Functions | |
FOV () | |
FOV (const QString &name, float a, float b=-1, float xoffset=0, float yoffset=0, float rot=0, Shape shape=SQUARE, const QString &color="#FFFFFF") | |
QString | color () const |
void | draw (QPainter &p, float zoomFactor) |
void | draw (QPainter &p, float x, float y) |
QString | name () const |
float | offsetX () const |
float | offsetY () const |
float | rotation () const |
void | setColor (const QString &c) |
void | setName (const QString &n) |
void | setOffset (float fx, float fy) |
void | setRotation (float rt) |
void | setShape (Shape s) |
void | setShape (int s) |
void | setSize (float s) |
void | setSize (float sx, float sy) |
Shape | shape () const |
float | sizeX () const |
float | sizeY () const |
Static Public Member Functions | |
static QList< FOV * > | defaults () |
static FOV::Shape | intToShape (int) |
static QList< FOV * > | readFOVs () |
static void | writeFOVs (const QList< FOV * > fovs) |
Detailed Description
Member Enumeration Documentation
enum FOV::Shape |
Constructor & Destructor Documentation
Member Function Documentation
void FOV::draw | ( | QPainter & | p, |
float | zoomFactor | ||
) |
void FOV::draw | ( | QPainter & | p, |
float | x, | ||
float | y | ||
) |
|
static |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.