module Tools  
  CROSSGAP=8
  def draw_tile(ctx,f,x,y,pdx,pdy)
    ctx.set_source_pixbuf(get_pixbuf(f),(x-pdx)*256,(y-pdy)*256)
    ctx.paint