return (int) Math.rint(pixelsToUnitsDouble(pixels));
if (pagPt == null) { pagPt = new PagePoint(); }  pagPt.x = pixelsToUnits(pixPt.x); pagPt.y = pixelsToUnits(pixPt.y);  return pagPt;
    public int pixelsToUnits (int pixels)    {        return (int) Math.rint(pixelsToUnitsDouble(pixels));    }