   draw_piece_ab: (a,b) ->
     xy = @puzzle.hex_box.get_box_xy_ab(a,b)
     @draw_piece(xy[0],xy[1])
-
-
-#  draw_piece_ab: (a,b) ->
-
-#    b = b-1 if a%2 == 0 and @box.anchor_hex[0] % 2 == 1
-#    x = 107+a*14
-#    y = 18+b*20
-#    y = y+9 if @box.high_hex_adjust
-#    y = y+9 if Math.abs(@box.anchor_hex[0] - a) % 2 == 1
-#    @draw_piece(x,y)
 
 
   draw_piece: (x,y) ->

    @context = @puzzle_view.get_drawing_context(mode)


  get_hex_xy: (a,b) -> # NEW
    x = a*14 + @dx
    y = (2*b + a%2)*10 + @dy
    xy = [x,y]
    return xy


  fill_hex_ab: (a,b,c_no) -> # REVISED
    xy = @get_hex_xy(a,b)
    @fill_hex_xy(xy[0],xy[1],c_no)


  fill_hex_xy: (x,y,c_no) -> # REVISED
    @context.fillStyle = @colors[c_no]
    @context.beginPath()
    @context.moveTo(x+5,y)


    @puzzle = puzzle_app
    @hex_box = @puzzle.hex_box
    @piece_mask  = new PiecePattern(this)
    @redraw = new PieceRedrawBuffer
    @hexes = []
