322323324325326327328329330331332
f = -Float.parseFloat(x); f *= ref.width(); n = Math.round(f); } rt.left(ref.right() - n); } else { try { n = Integer.parseInt(x); } catch (NumberFormatException ex) { f = Float.parseFloat(x);
332333334335336337338339340341342
f = Float.parseFloat(x); f *= ref.width(); n = Math.round(f); } rt.left(ref.left() + n); } if (y.startsWith("-")) { try { n = -Integer.parseInt(y);
366367368369370371372373374375376
f = -Float.parseFloat(w); f *= ref.width(); n = Math.round(f); } rt.right(rt.left()); rt.left(rt.right() - n); } else { try { n = Integer.parseInt(w); } catch (NumberFormatException ex) {
367368369370371372373374375376377
f *= ref.width(); n = Math.round(f); } rt.right(rt.left()); rt.left(rt.right() - n); } else { try { n = Integer.parseInt(w); } catch (NumberFormatException ex) { f = Float.parseFloat(w);
377378379380381382383384385386387
f = Float.parseFloat(w); f *= ref.width; n = Math.round(f); } rt.right(rt.left() + n); } if (h.startsWith("-")) { try { n = -Integer.parseInt(h);