Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
kernel
Commits
054e8db8
Commit
054e8db8
authored
Nov 15, 2017
by
Alexander Diewald
Browse files
- YELLOW
- Missed a TODO: Removed internalToScreenDimension (not used anywhere). refs 2983
parent
54460123
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/ZoomUIUtils.java
View file @
054e8db8
...
...
@@ -37,7 +37,7 @@ import org.fortiss.tooling.base.utils.ZoomUtils;
* @author hummel
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash:
C039A18E383BB6EEF05185DB450142CA
* @ConQAT.Rating YELLOW Hash:
2358256F0E19D26CB8F26D56B1681CC0
*/
public
class
ZoomUIUtils
{
...
...
@@ -120,17 +120,4 @@ public class ZoomUIUtils {
dim
.
setSize
(
modelDim
.
getWidth
(),
modelDim
.
getHeight
());
return
dim
;
}
/**
* Converts a point expressed in internal coordinates, into a point in screen coordinates,
* taking the zoom into account.
*/
// TODO(VA) This method is not used -> remove?
public
static
Dimension
internalToScreenDimension
(
Dimension
dim
,
double
zoom
)
{
org
.
fortiss
.
tooling
.
base
.
model
.
layout
.
Dimension
modelDim
=
createDimension
(
dim
.
width
(),
dim
.
height
(),
dim
.
toString
());
modelDim
=
ZoomUtils
.
internalToScreenDimension
(
modelDim
,
zoom
);
dim
.
setSize
(
modelDim
.
getWidth
(),
modelDim
.
getHeight
());
return
dim
;
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment