Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/ViewportGeometry.h @ 340:f5d5814a41a0 am-2
rendering BitmapStack
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 20 Oct 2018 18:26:05 +0200 |
parents | 50e5ec1bdd46 |
children | b70e9be013e4 |
comparison
equal
deleted
inserted
replaced
339:5a7915b23138 | 340:f5d5814a41a0 |
---|---|
20 | 20 |
21 | 21 |
22 #pragma once | 22 #pragma once |
23 | 23 |
24 #include "../Viewport/CairoContext.h" | 24 #include "../Viewport/CairoContext.h" |
25 #include "../Toolbox/Extent2D.h" | 25 #include "Extent2D.h" |
26 #include "LinearAlgebra.h" | |
26 | 27 |
27 namespace OrthancStone | 28 namespace OrthancStone |
28 { | 29 { |
29 class ViewportGeometry | 30 class ViewportGeometry |
30 { | 31 { |
97 | 98 |
98 void SetPan(double x, | 99 void SetPan(double x, |
99 double y); | 100 double y); |
100 | 101 |
101 void SetZoom(double zoom); | 102 void SetZoom(double zoom); |
103 | |
104 Matrix GetMatrix() const; | |
102 }; | 105 }; |
103 } | 106 } |