comparison Framework/Scene2DViewport/ViewportController.h @ 916:a911f5bb48da am-dev

MultiPlatform Basic Scene sample (so far: SDL + Qt)
author Alain Mazy <alain@mazy.be>
date Fri, 19 Jul 2019 15:06:36 +0200
parents 0c5201499af8
children 685c9a2d115f
comparison
equal deleted inserted replaced
915:912cc77be3b4 916:a911f5bb48da
118 /** Forwarded to the underlying scene, and broadcasted to the observers */ 118 /** Forwarded to the underlying scene, and broadcasted to the observers */
119 void SetSceneToCanvasTransform(const AffineTransform2D& transform); 119 void SetSceneToCanvasTransform(const AffineTransform2D& transform);
120 120
121 /** Forwarded to the underlying scene, and broadcasted to the observers */ 121 /** Forwarded to the underlying scene, and broadcasted to the observers */
122 void FitContent(unsigned int canvasWidth, unsigned int canvasHeight); 122 void FitContent(unsigned int canvasWidth, unsigned int canvasHeight);
123 void FitContent();
123 124
124 /** Adds a new measure tool */ 125 /** Adds a new measure tool */
125 void AddMeasureTool(boost::shared_ptr<MeasureTool> measureTool); 126 void AddMeasureTool(boost::shared_ptr<MeasureTool> measureTool);
126 127
127 /** Removes a measure tool or throws if it cannot be found */ 128 /** Removes a measure tool or throws if it cannot be found */