@Override
 public Rect getDisplayExtent(int doc, int gs) {
   final Floats box = new Floats(4);
   if (mView.coreView().getDisplayExtent(doc, gs, box)) {
     return new Rect(
         Math.round(box.get(0)),
         Math.round(box.get(1)),
         Math.round(box.get(2)),
         Math.round(box.get(3)));
   }
   return new Rect();
 }
 @Override
 public Rect getBoundingBox() {
   final Floats box = new Floats(4);
   if (mView.coreView().getBoundingBox(box)) {
     return new Rect(
         Math.round(box.get(0)),
         Math.round(box.get(1)),
         Math.round(box.get(2)),
         Math.round(box.get(3)));
   }
   return new Rect();
 }
 @Override
 public PointF displayToModel(float x, float y) {
   final Floats pt = new Floats(x, y);
   if (mView.coreView().displayToModel(pt)) return new PointF(pt.get(0), pt.get(1));
   return null;
 }