Mercurial > hg > orthanc-stone
annotate Framework/StoneEnumerations.h @ 516:11fa6f00e33c bgo-commands-codegen
Dummy changes (warnings, dummy dtor to check proper deletion, line wrapping) +
fixes for AM changes (Corner renamed to ControlPoint...)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 12 Mar 2019 08:51:15 +0100 |
parents | 77e0eb83ff63 |
children | 1201b12eb9f8 |
rev | line source |
---|---|
0 | 1 /** |
2 * Stone of Orthanc | |
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | |
4 * Department, University Hospital of Liege, Belgium | |
439 | 5 * Copyright (C) 2017-2019 Osimis S.A., Belgium |
0 | 6 * |
7 * This program is free software: you can redistribute it and/or | |
47 | 8 * modify it under the terms of the GNU Affero General Public License |
9 * as published by the Free Software Foundation, either version 3 of | |
10 * the License, or (at your option) any later version. | |
0 | 11 * |
12 * This program is distributed in the hope that it will be useful, but | |
13 * WITHOUT ANY WARRANTY; without even the implied warranty of | |
47 | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
15 * Affero General Public License for more details. | |
16 * | |
17 * You should have received a copy of the GNU Affero General Public License | |
0 | 18 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 **/ | |
20 | |
21 | |
22 #pragma once | |
23 | |
117
42c05a3baee3
loading multi-frame instances as 3D volumes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
93
diff
changeset
|
24 #include <string> |
42c05a3baee3
loading multi-frame instances as 3D volumes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
93
diff
changeset
|
25 |
0 | 26 namespace OrthancStone |
27 { | |
28 enum SliceOffsetMode | |
29 { | |
30 SliceOffsetMode_Absolute, | |
31 SliceOffsetMode_Relative, | |
32 SliceOffsetMode_Loop | |
33 }; | |
34 | |
35 enum ImageWindowing | |
36 { | |
37 ImageWindowing_Default, | |
38 ImageWindowing_Bone, | |
39 ImageWindowing_Lung, | |
40 ImageWindowing_Custom | |
41 }; | |
42 | |
43 enum MouseButton | |
44 { | |
45 MouseButton_Left, | |
46 MouseButton_Right, | |
47 MouseButton_Middle | |
48 }; | |
49 | |
50 enum MouseWheelDirection | |
51 { | |
52 MouseWheelDirection_Up, | |
53 MouseWheelDirection_Down | |
54 }; | |
55 | |
56 enum VolumeProjection | |
57 { | |
58 VolumeProjection_Axial, | |
59 VolumeProjection_Coronal, | |
60 VolumeProjection_Sagittal | |
61 }; | |
62 | |
63 enum ImageInterpolation | |
64 { | |
65 ImageInterpolation_Nearest, | |
141
88bca952cb17
ImageBuffer3D::GetPixelGrayscale8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
135
diff
changeset
|
66 ImageInterpolation_Bilinear, |
88bca952cb17
ImageBuffer3D::GetPixelGrayscale8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
135
diff
changeset
|
67 ImageInterpolation_Trilinear |
0 | 68 }; |
69 | |
70 enum KeyboardModifiers | |
71 { | |
72 KeyboardModifiers_None = 0, | |
73 KeyboardModifiers_Shift = (1 << 0), | |
74 KeyboardModifiers_Control = (1 << 1), | |
75 KeyboardModifiers_Alt = (1 << 2) | |
76 }; | |
93
5945e81734a3
decoding of JPEG images
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
47
diff
changeset
|
77 |
327 | 78 enum KeyboardKeys |
79 { | |
80 KeyboardKeys_Generic = 0, | |
81 | |
82 // let's use the same ids as in javascript to avoid some conversion in WASM: https://css-tricks.com/snippets/javascript/javascript-keycodes/ | |
83 KeyboardKeys_Left = 37, | |
84 KeyboardKeys_Up = 38, | |
85 KeyboardKeys_Right = 39, | |
86 KeyboardKeys_Down = 40 | |
87 }; | |
88 | |
93
5945e81734a3
decoding of JPEG images
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
47
diff
changeset
|
89 enum SliceImageQuality |
5945e81734a3
decoding of JPEG images
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
47
diff
changeset
|
90 { |
257 | 91 SliceImageQuality_FullPng, // smaller to transmit but longer to generate on Orthanc side (better choice when on low bandwidth) |
92 SliceImageQuality_FullPam, // bigger to transmit but faster to generate on Orthanc side (better choice when on localhost or LAN) | |
93
5945e81734a3
decoding of JPEG images
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
47
diff
changeset
|
93 SliceImageQuality_Jpeg50, |
5945e81734a3
decoding of JPEG images
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
47
diff
changeset
|
94 SliceImageQuality_Jpeg90, |
257 | 95 SliceImageQuality_Jpeg95, |
96 | |
97 SliceImageQuality_InternalRaw // downloads the raw pixels data as they are stored in the DICOM file (internal use only) | |
93
5945e81734a3
decoding of JPEG images
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
47
diff
changeset
|
98 }; |
117
42c05a3baee3
loading multi-frame instances as 3D volumes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
93
diff
changeset
|
99 |
42c05a3baee3
loading multi-frame instances as 3D volumes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
93
diff
changeset
|
100 enum SopClassUid |
42c05a3baee3
loading multi-frame instances as 3D volumes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
93
diff
changeset
|
101 { |
42c05a3baee3
loading multi-frame instances as 3D volumes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
93
diff
changeset
|
102 SopClassUid_RTDose |
42c05a3baee3
loading multi-frame instances as 3D volumes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
93
diff
changeset
|
103 }; |
42c05a3baee3
loading multi-frame instances as 3D volumes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
93
diff
changeset
|
104 |
366
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
105 enum BitmapAnchor |
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
106 { |
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
107 BitmapAnchor_BottomLeft, |
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
108 BitmapAnchor_BottomCenter, |
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
109 BitmapAnchor_BottomRight, |
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
110 BitmapAnchor_CenterLeft, |
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
111 BitmapAnchor_Center, |
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
112 BitmapAnchor_CenterRight, |
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
113 BitmapAnchor_TopLeft, |
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
114 BitmapAnchor_TopCenter, |
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
115 BitmapAnchor_TopRight |
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
116 }; |
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
117 |
393
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
118 enum MessageType |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
119 { |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
120 MessageType_Widget_GeometryChanged, |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
121 MessageType_Widget_ContentChanged, |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
122 |
397 | 123 MessageType_VolumeSlicer_GeometryReady, // instance tags have been loaded |
124 MessageType_VolumeSlicer_GeometryError, | |
125 MessageType_VolumeSlicer_ContentChanged, | |
126 MessageType_VolumeSlicer_SliceChanged, | |
127 MessageType_VolumeSlicer_LayerReady, // layer is ready to be rendered | |
128 MessageType_VolumeSlicer_LayerError, | |
393
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
129 |
396
ed7146fa2c98
rename ILayerSource as IVolumeSlicer, and OrthancFrameLayerSource as as DicomSeriesVolumeSlicer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
395
diff
changeset
|
130 MessageType_DicomSeriesVolumeSlicer_FrameReady, // pixels data of the frame have been loaded |
395
5f13809f3f76
rename ILayerSource::ImageReadyMessage to OrthancFrameLayerSource::FrameReadyMessage
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
393
diff
changeset
|
131 |
400
518f680dbf2e
SliceViewerWidget::DisplayedSliceMessage
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
397
diff
changeset
|
132 MessageType_SliceViewerWidget_DisplayedSlice, // The displayed slice has changed |
518f680dbf2e
SliceViewerWidget::DisplayedSliceMessage
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
397
diff
changeset
|
133 |
393
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
134 MessageType_SliceLoader_GeometryReady, |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
135 MessageType_SliceLoader_GeometryError, |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
136 MessageType_SliceLoader_ImageReady, |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
137 MessageType_SliceLoader_ImageError, |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
138 |
404
ba4ace20454e
use of MessageBroker in DicomStructureSetSlicer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
400
diff
changeset
|
139 MessageType_VolumeLoader_GeometryReady, |
ba4ace20454e
use of MessageBroker in DicomStructureSetSlicer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
400
diff
changeset
|
140 MessageType_VolumeLoader_GeometryError, |
ba4ace20454e
use of MessageBroker in DicomStructureSetSlicer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
400
diff
changeset
|
141 MessageType_VolumeLoader_ContentChanged, // Content of several slices in the loader has changed |
ba4ace20454e
use of MessageBroker in DicomStructureSetSlicer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
400
diff
changeset
|
142 |
405
3942123602ba
removing ObserversRegistry
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
404
diff
changeset
|
143 MessageType_SlicedVolume_GeometryReady, |
3942123602ba
removing ObserversRegistry
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
404
diff
changeset
|
144 MessageType_SlicedVolume_GeometryError, |
3942123602ba
removing ObserversRegistry
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
404
diff
changeset
|
145 MessageType_SlicedVolume_VolumeReady, |
3942123602ba
removing ObserversRegistry
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
404
diff
changeset
|
146 MessageType_SlicedVolume_ContentChanged, |
3942123602ba
removing ObserversRegistry
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
404
diff
changeset
|
147 MessageType_SlicedVolume_SliceContentChanged, |
3942123602ba
removing ObserversRegistry
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
404
diff
changeset
|
148 |
393
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
149 MessageType_HttpRequestSuccess, |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
150 MessageType_HttpRequestError, |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
151 |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
152 MessageType_OrthancApi_InternalGetJsonResponseReady, |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
153 MessageType_OrthancApi_InternalGetJsonResponseError, |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
154 |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
155 MessageType_OrthancApi_GenericGetJson_Ready, |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
156 MessageType_OrthancApi_GenericGetBinary_Ready, |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
157 MessageType_OrthancApi_GenericHttpError_Ready, |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
158 MessageType_OrthancApi_GenericEmptyResponse_Ready, |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
159 |
503
77e0eb83ff63
layers are now Observable and emitting LayerEdited messages
amazy
parents:
476
diff
changeset
|
160 MessageType_RadiographyScene_GeometryChanged, |
77e0eb83ff63
layers are now Observable and emitting LayerEdited messages
amazy
parents:
476
diff
changeset
|
161 MessageType_RadiographyScene_ContentChanged, |
77e0eb83ff63
layers are now Observable and emitting LayerEdited messages
amazy
parents:
476
diff
changeset
|
162 MessageType_RadiographyScene_LayerEdited, |
77e0eb83ff63
layers are now Observable and emitting LayerEdited messages
amazy
parents:
476
diff
changeset
|
163 MessageType_RadiographyScene_WindowingChanged, |
77e0eb83ff63
layers are now Observable and emitting LayerEdited messages
amazy
parents:
476
diff
changeset
|
164 |
77e0eb83ff63
layers are now Observable and emitting LayerEdited messages
amazy
parents:
476
diff
changeset
|
165 MessageType_RadiographyLayer_Edited, |
430 | 166 |
393
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
167 MessageType_ViewportChanged, |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
168 |
431
26b90b110719
added DelayedCallExecutor to avoid using sleep() in C++ that consumes 100% CPU once executed in WASM
am@osimis.io
parents:
430
diff
changeset
|
169 MessageType_Timeout, |
26b90b110719
added DelayedCallExecutor to avoid using sleep() in C++ that consumes 100% CPU once executed in WASM
am@osimis.io
parents:
430
diff
changeset
|
170 |
393
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
171 // used in unit tests only |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
172 MessageType_Test1, |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
173 MessageType_Test2, |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
174 |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
175 MessageType_CustomMessage // Custom messages ids ust be greater than this (this one must remain in last position) |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
176 }; |
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
177 |
410
6decc0ba9da5
rename RadiographyScene::Layer as RadiographyLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
405
diff
changeset
|
178 |
476
a95090305dd4
Introduced ControlPoint instead of Corner in the trackers and layers + drawing mask from the ControlPoints
am@osimis.io
parents:
440
diff
changeset
|
179 enum ControlPointType |
410
6decc0ba9da5
rename RadiographyScene::Layer as RadiographyLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
405
diff
changeset
|
180 { |
476
a95090305dd4
Introduced ControlPoint instead of Corner in the trackers and layers + drawing mask from the ControlPoints
am@osimis.io
parents:
440
diff
changeset
|
181 ControlPoint_TopLeftCorner = 0, |
a95090305dd4
Introduced ControlPoint instead of Corner in the trackers and layers + drawing mask from the ControlPoints
am@osimis.io
parents:
440
diff
changeset
|
182 ControlPoint_TopRightCorner = 1, |
a95090305dd4
Introduced ControlPoint instead of Corner in the trackers and layers + drawing mask from the ControlPoints
am@osimis.io
parents:
440
diff
changeset
|
183 ControlPoint_BottomRightCorner = 2, |
a95090305dd4
Introduced ControlPoint instead of Corner in the trackers and layers + drawing mask from the ControlPoints
am@osimis.io
parents:
440
diff
changeset
|
184 ControlPoint_BottomLeftCorner = 3 |
410
6decc0ba9da5
rename RadiographyScene::Layer as RadiographyLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
405
diff
changeset
|
185 }; |
393
e7a494bdd956
removed Messages/MessageType.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
366
diff
changeset
|
186 |
432
4eb96c6b4e96
improved handling of MONOCHROME1, background and invertion
am@osimis.io
parents:
431
diff
changeset
|
187 enum PhotometricDisplayMode |
4eb96c6b4e96
improved handling of MONOCHROME1, background and invertion
am@osimis.io
parents:
431
diff
changeset
|
188 { |
4eb96c6b4e96
improved handling of MONOCHROME1, background and invertion
am@osimis.io
parents:
431
diff
changeset
|
189 PhotometricDisplayMode_Default, |
4eb96c6b4e96
improved handling of MONOCHROME1, background and invertion
am@osimis.io
parents:
431
diff
changeset
|
190 |
4eb96c6b4e96
improved handling of MONOCHROME1, background and invertion
am@osimis.io
parents:
431
diff
changeset
|
191 PhotometricDisplayMode_Monochrome1, |
4eb96c6b4e96
improved handling of MONOCHROME1, background and invertion
am@osimis.io
parents:
431
diff
changeset
|
192 PhotometricDisplayMode_Monochrome2 |
4eb96c6b4e96
improved handling of MONOCHROME1, background and invertion
am@osimis.io
parents:
431
diff
changeset
|
193 }; |
4eb96c6b4e96
improved handling of MONOCHROME1, background and invertion
am@osimis.io
parents:
431
diff
changeset
|
194 |
410
6decc0ba9da5
rename RadiographyScene::Layer as RadiographyLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
405
diff
changeset
|
195 |
117
42c05a3baee3
loading multi-frame instances as 3D volumes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
93
diff
changeset
|
196 bool StringToSopClassUid(SopClassUid& result, |
42c05a3baee3
loading multi-frame instances as 3D volumes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
93
diff
changeset
|
197 const std::string& source); |
142
f19194a11c1d
ComputeWindowing in Enumerations.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
141
diff
changeset
|
198 |
f19194a11c1d
ComputeWindowing in Enumerations.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
141
diff
changeset
|
199 void ComputeWindowing(float& targetCenter, |
f19194a11c1d
ComputeWindowing in Enumerations.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
141
diff
changeset
|
200 float& targetWidth, |
f19194a11c1d
ComputeWindowing in Enumerations.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
141
diff
changeset
|
201 ImageWindowing windowing, |
f19194a11c1d
ComputeWindowing in Enumerations.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
141
diff
changeset
|
202 float defaultCenter, |
f19194a11c1d
ComputeWindowing in Enumerations.h
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
141
diff
changeset
|
203 float defaultWidth); |
366
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
204 |
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
205 void ComputeAnchorTranslation(double& deltaX /* out */, |
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
206 double& deltaY /* out */, |
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
207 BitmapAnchor anchor, |
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
208 unsigned int bitmapWidth, |
a7de01c8fd29
new enum BitmapAnchor
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
327
diff
changeset
|
209 unsigned int bitmapHeight); |
0 | 210 } |