Mercurial > hg > orthanc-stone
comparison Framework/Scene2DViewport/MeasureToolsToolbox.h @ 901:240359ab1651
Added Dot + magnitude + couple helpers in ScenePoint2D + Added ability to target several sets of 5-layer text packs stored in LayerHolder
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 17 Jul 2019 09:39:51 +0200 |
parents | 0aff28f15ea2 |
children | 52b1c6ff10c5 |
comparison
equal
deleted
inserted
replaced
899:a8e3d686b43e | 901:240359ab1651 |
---|---|
178 | 178 |
179 The five text layers are supposed to already exist in the scene, starting | 179 The five text layers are supposed to already exist in the scene, starting |
180 from layerIndex, up to (and not including) layerIndex+5. | 180 from layerIndex, up to (and not including) layerIndex+5. |
181 */ | 181 */ |
182 void SetTextLayerOutlineProperties( | 182 void SetTextLayerOutlineProperties( |
183 Scene2D& scene, | 183 Scene2D& scene |
184 boost::shared_ptr<LayerHolder> layerHolder, | 184 , boost::shared_ptr<LayerHolder> layerHolder |
185 const char* text, | 185 , const char* text |
186 ScenePoint2D p); | 186 , ScenePoint2D p |
187 , int startingLayerIndex = 0); | |
187 | 188 |
188 std::ostream& operator<<(std::ostream& os, const ScenePoint2D& p); | 189 std::ostream& operator<<(std::ostream& os, const ScenePoint2D& p); |
189 } | 190 } |
190 | 191 |