Skip to content
Snippets Groups Projects
Commit 18c64b0a authored by Thomas Oster's avatar Thomas Oster
Browse files

added dpi2dpm

parent 26b03c7a
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,12 @@ package com.t_oster.liblasercut.platform;
*/
public class Util {
public static double dpi2dpmm(double dpi)
{
//TODO: check
return dpi / 25.4;
}
public static double inch2mm(double inch) {
return inch * 25.4;
}
......
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