     xx = @hex_box.box_xy[0] - @puzzle.puzzle_view.puzzle_xy[0]
     yy = @hex_box.box_xy[1] - @puzzle.puzzle_view.puzzle_xy[1]
     photo = @puzzle.puzzle_view.photo
-    console.log "xx is negative" if xx < 0
-    console.log "yy is negative" if yy < 0
-    console.log "@hex_box.width is negative" if @hex_box.width < 0
-    console.log "@hex_box.height is negative" if @hex_box.height < 0
     @photo_clip_context.drawImage(photo,xx,yy,@hex_box.width,@hex_box.height,0,0,@hex_box.width,@hex_box.height)
     @puzzle.mask.reset_mask()
     context = @pattern.img.getContext('2d')



  set_hex_box: (piece_symbol) ->
    console.log " "
    console.log "set_hex_box()"
    console.log "   symbol = #{piece_symbol}"
    @reset_hexes(@get_hexes(piece_symbol))
    console.log "   after reset_hexes():"
    console.log "      hexes.length = #{@hexes.length}"
    @get_box_metrics()



  reset_mask: () ->
    @puzzle.puzzle_view.draw_photo()
    @get_next_color()
    @draw_mask()


