Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/ViewportGeometry.h @ 330:7a364e44fbb4 am-2
renamed SetDefaultView in FitContent
author | am@osimis.io |
---|---|
date | Wed, 17 Oct 2018 12:45:52 +0200 |
parents | fccffbf99ba1 |
children | 50e5ec1bdd46 |
comparison
equal
deleted
inserted
replaced
329:b10dfdb96866 | 330:7a364e44fbb4 |
---|---|
81 double GetZoom() const | 81 double GetZoom() const |
82 { | 82 { |
83 return zoom_; | 83 return zoom_; |
84 } | 84 } |
85 | 85 |
86 void SetDefaultView(); | 86 void FitContent(); |
87 | 87 |
88 void ApplyTransform(CairoContext& context) const; | 88 void ApplyTransform(CairoContext& context) const; |
89 | 89 |
90 void GetPan(double& x, | 90 void GetPan(double& x, |
91 double& y) const; | 91 double& y) const; |