code: public void drawTextBaseRatio(String label, double horizontalReference, double verticalReference, double[] coord) {
          drawTextBaseRatio(label, horizontalReference, verticalReference, 0.0, coord);
      }
docs: Draw a string with given reference point. (0.5, 0.5) is center, (0, 0) is
  lower left, (0, 1) is upper left, etc. The logical coordinates are
  proportional to the base coordinates.