Class with static functions to draw different markers.Use config() to get an object to configure the appearance. The markers are drawn in the current color of the painter. Therefore change it before calling one of the static functions.
More...
#include <echartmarkers.h>
|
static EChartMarkersConfig * | config () |
| Call this function to set and/or get the globel MarkersConfig object. More...
|
|
static void | circle (QPainter *painter, QPoint point) |
|
static void | rhomb (QPainter *painter, QPoint point) |
|
static void | square (QPainter *painter, QPoint point) |
|
static void | triangleUp (QPainter *painter, QPoint point) |
|
static void | triangleLeft (QPainter *painter, QPoint point) |
|
static void | triangleBottom (QPainter *painter, QPoint point) |
|
static void | triangleRight (QPainter *painter, QPoint point) |
|
Class with static functions to draw different markers.
Use config() to get an object to configure the appearance. The markers are drawn in the current color of the painter. Therefore change it before calling one of the static functions.
EChartMarkers::EChartMarkers |
( |
| ) |
|
void EChartMarkers::circle |
( |
QPainter * |
painter, |
|
|
QPoint |
point |
|
) |
| |
|
static |
Call this function to set and/or get the globel MarkersConfig object.
int EChartMarkers::halfSize |
( |
| ) |
const |
|
private |
void EChartMarkers::rhomb |
( |
QPainter * |
painter, |
|
|
QPoint |
point |
|
) |
| |
|
static |
uint EChartMarkers::size |
( |
| ) |
const |
|
private |
void EChartMarkers::square |
( |
QPainter * |
painter, |
|
|
QPoint |
point |
|
) |
| |
|
static |
void EChartMarkers::triangle |
( |
QPainter * |
painter, |
|
|
QPoint |
point, |
|
|
int |
angle |
|
) |
| |
|
private |
void EChartMarkers::triangleBottom |
( |
QPainter * |
painter, |
|
|
QPoint |
point |
|
) |
| |
|
static |
void EChartMarkers::triangleLeft |
( |
QPainter * |
painter, |
|
|
QPoint |
point |
|
) |
| |
|
static |
void EChartMarkers::triangleRight |
( |
QPainter * |
painter, |
|
|
QPoint |
point |
|
) |
| |
|
static |
void EChartMarkers::triangleUp |
( |
QPainter * |
painter, |
|
|
QPoint |
point |
|
) |
| |
|
static |
The pointer to the config, used by Markers.
If some of the static functions from Markers are called before Markers::config() is called, a default MarkersConfig is created.
The documentation for this class was generated from the following files: