aboutsummaryrefslogtreecommitdiff
path: root/geometry.h
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-01-26 18:15:50 +0100
committerSamuel Fadel <samuelfadel@gmail.com>2016-01-26 18:15:50 +0100
commit41e1b2bfb8e2ba3d0e74180200e7cc109171213e (patch)
tree27c7dbaa8fcdcc7efb300c0ea0a44b28d2ac76c0 /geometry.h
parent7f0f945c35bc8c12d55efbce7545995fc76892c1 (diff)
Scatterplot & BarChart: initial brushing mechanism.
* Both components now support brushing (support in Scatterplot for activating a brush is still incomplete, though it can be brushed on by other components) * Added a handler for linking the brushing between components * Added crosshair geometry handler to geometry lib * Fixed issue #15
Diffstat (limited to 'geometry.h')
-rw-r--r--geometry.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/geometry.h b/geometry.h
index b29e41f..eb4e05d 100644
--- a/geometry.h
+++ b/geometry.h
@@ -10,4 +10,10 @@ void updateCircleGeometry(QSGGeometry *geometry, float radius, float cx, float c
// Rect
void updateRectGeometry(QSGGeometry *geometry, float x, float y, float w, float h);
+// Crosshair
+void updateCrossHairGeometry(QSGGeometry *geometry,
+ float x,
+ float y,
+ float thickness,
+ float length);
#endif // GEOMETRY_H