• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • edu API Reference
  • KDE Home
  • Contact Us
 

kstars

Public Member Functions | List of all members
EllipseNode Class Reference

#include <ellipsenode.h>

Inheritance diagram for EllipseNode:
Inheritance graph
[legend]

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.

Author
Artem Fedoskin
Version
1.0

Definition at line 33 of file ellipsenode.h.

Constructor & Destructor Documentation

EllipseNode::EllipseNode ( const QColor &  color = QColor(),
int  width = 1 
)
explicit


polynode.cpp - K Desktop Planetarium

begin : 28/05/2016 copyright : (C) 2016 by Artem Fedoskin email : afedo[email protected]skin[email protected][email protected][email protected]il.c[email protected]om


  • 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

void EllipseNode::setColor ( QColor  color)

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
xposition by x
yposition by y
widththe width
heightthe 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:
  • ellipsenode.h
  • ellipsenode.cpp
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

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

edu API Reference

Skip menu "edu API Reference"
  •     core
  • kstars

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal