rawDrawLine(x1, y1, x2, y2);
{ int tx = (int) transform.getTranslateX(); int ty = (int) transform.getTranslateY(); rawDrawLine(x1 + tx, y1 + ty, x2 + tx, y2 + ty); }
  public void drawLine(int x1, int y1, int x2, int y2)  {    if (isOptimized)      rawDrawLine(x1, y1, x2, y2);    else      {        Line2D line = new Line2D.Double(x1, y1, x2, y2);        draw(line);      }  }