Skip to content
Snippets Groups Projects
Commit 054e8db8 authored by Alexander Diewald's avatar Alexander Diewald
Browse files

- YELLOW

- Missed a TODO: Removed internalToScreenDimension (not used anywhere).
refs 2983
parent 54460123
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment