comparison Samples/Common/CreateLineMeasureTracker.h @ 654:462a5074f914

Turned the scene into an observable to be able to dynamically react to scene to canvas transform changes --> now the handles and angle measure adornments are immune to zoom changes
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 14 May 2019 13:51:00 +0200
parents 1e9ed656318e
children
comparison
equal deleted inserted replaced
653:4eccf698e52f 654:462a5074f914
33 creation and modification. 33 creation and modification.
34 In turn, a container for these commands to store the actual measuring 34 In turn, a container for these commands to store the actual measuring
35 must be supplied, too 35 must be supplied, too
36 */ 36 */
37 CreateLineMeasureTracker( 37 CreateLineMeasureTracker(
38 MessageBroker& broker,
38 Scene2D& scene, 39 Scene2D& scene,
39 std::vector<TrackerCommandPtr>& undoStack, 40 std::vector<TrackerCommandPtr>& undoStack,
40 std::vector<MeasureToolPtr>& measureTools, 41 std::vector<MeasureToolPtr>& measureTools,
41 const PointerEvent& e); 42 const PointerEvent& e);
42 43