Example #1
0
  public void draw_radar_point(PaintScreen dw, float x, float z, float scale, float radius) {

    Bitmap bitmap = DataSource.building;

    radiusM = radius;
    // Log.d("TextBlock","before : x = "+x+", y = "+z);
    if (bitmap != null) {
      x = x - bitmap.getWidth() / scale;
      z = z - bitmap.getHeight() + 10;

      dw.paintBitmap(bitmap, x, z);
    }
    // Log.d("TextBlock","after : x = "+x+", y = "+z);
    drawTextBlock2(dw, x, z);
    // drawTextBlock(dw);
  }