}
public static Point2D upscaleSwt(Point2D p) {
- return upscaleSwt(p.getX(), p.getY());
+ initialize();
+ return (hasSwtScale && p != null) ? upscaleSwt(p.getX(), p.getY()) : p;
}
public static Point upscaleSwtToInteger(Point2D p) {
}
public static Point upscaleSwt(Point p) {
- return upscaleSwt(p.x, p.y);
+ initialize();
+ return (hasSwtScale && p != null) ? upscaleSwt(p.x, p.y) : p;
}
public static Rectangle2D upscaleSwt(Rectangle2D r, Rectangle2D target) {