Mercurial > hg > orthanc-stone
diff Framework/Radiography/RadiographyLayerCropTracker.h @ 476:a95090305dd4 am-touch-events
Introduced ControlPoint instead of Corner in the trackers and layers + drawing mask from the ControlPoints
author | am@osimis.io |
---|---|
date | Wed, 13 Feb 2019 12:04:02 +0100 |
parents | 3b4df9925db6 |
children | 4f2416d519b4 |
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyLayerCropTracker.h Tue Feb 12 12:22:13 2019 +0100 +++ b/Framework/Radiography/RadiographyLayerCropTracker.h Wed Feb 13 12:04:02 2019 +0100 @@ -35,7 +35,7 @@ UndoRedoStack& undoRedoStack_; RadiographyScene::LayerAccessor accessor_; - Corner corner_; + ControlPoint startControlPoint_; unsigned int cropX_; unsigned int cropY_; unsigned int cropWidth_; @@ -46,9 +46,7 @@ RadiographyScene& scene, const ViewportGeometry& view, size_t layer, - double x, - double y, - Corner corner); + const ControlPoint& startControlPoint); virtual bool HasRender() const {