The MarkerOrthoViewRendererCache class specifies the interface to store and replay marker geometry information using a QPainter.
More...
#include "MarkerOrthoViewRenderer.hh"
The MarkerOrthoViewRendererCache class specifies the interface to store and replay marker geometry information using a QPainter.
This class has to be reimplemented by all specialized MarkerOrthoViewRenderers.
Definition at line 50 of file MarkerOrthoViewRenderer.hh.
◆ MarkerOrthoViewRendererCache() [1/2]
MarkerOrthoViewRendererCache::MarkerOrthoViewRendererCache |
( |
| ) |
|
◆ MarkerOrthoViewRendererCache() [2/2]
◆ ~MarkerOrthoViewRendererCache()
virtual MarkerOrthoViewRendererCache::~MarkerOrthoViewRendererCache |
( |
| ) |
|
|
virtual |
◆ clone()
◆ setActive()
void MarkerOrthoViewRendererCache::setActive |
( |
bool |
active | ) |
|
Set the active flag of this cache.
If the cache is inactive a call to the render() method is a noop.
- Parameters
-
active | The new active flag value |
◆ active()
bool MarkerOrthoViewRendererCache::active |
( |
| ) |
const |
Get the active flag of this cache.
- Returns
- The current active flag
◆ setShowHelperLines()
void MarkerOrthoViewRendererCache::setShowHelperLines |
( |
bool |
showHelperLines | ) |
|
Set the showHelperLines flag of this cache.
If this flag is set additional helper lines for specific marker types are drawn.
- Parameters
-
showHelperLines | The new showHelperLines flag value |
◆ showHelperLines()
bool MarkerOrthoViewRendererCache::showHelperLines |
( |
| ) |
const |
Get the showHelperLines flag of this cache.
- Returns
- The current showHelperLines flag
◆ setFontSize()
void MarkerOrthoViewRendererCache::setFontSize |
( |
int |
fontSize | ) |
|
Set the font size for text drawn by this cache.
- Parameters
-
fontSize | The font size to use for drawing text |
◆ fontSize()
int MarkerOrthoViewRendererCache::fontSize |
( |
| ) |
const |
Get the font size for text drawn by this cache.
- Returns
- The font size to use for drawing text
◆ render()
virtual void MarkerOrthoViewRendererCache::render |
( |
QPainter * |
painter | ) |
const |
|
pure virtual |
◆ _active
bool MarkerOrthoViewRendererCache::_active |
|
protected |
◆ _showHelperLines
bool MarkerOrthoViewRendererCache::_showHelperLines |
|
protected |
◆ _fontSize
int MarkerOrthoViewRendererCache::_fontSize |
|
protected |
The documentation for this class was generated from the following file: