comparison Samples/Common/CreateAngleMeasureTracker.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
36 creation and modification. 36 creation and modification.
37 In turn, a container for these commands to store the actual measuring 37 In turn, a container for these commands to store the actual measuring
38 must be supplied, too 38 must be supplied, too
39 */ 39 */
40 CreateAngleMeasureTracker( 40 CreateAngleMeasureTracker(
41 MessageBroker& broker,
41 Scene2D& scene, 42 Scene2D& scene,
42 std::vector<TrackerCommandPtr>& undoStack, 43 std::vector<TrackerCommandPtr>& undoStack,
43 std::vector<MeasureToolPtr>& measureTools, 44 std::vector<MeasureToolPtr>& measureTools,
44 const PointerEvent& e); 45 const PointerEvent& e);
45 46