From 41e1b2bfb8e2ba3d0e74180200e7cc109171213e Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Tue, 26 Jan 2016 18:15:50 +0100 Subject: 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 --- geometry.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'geometry.h') 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 -- cgit v1.2.3