 
 
   ctx_fill_hex_ab: (ctx,a,b,color) ->
-    #  ### <9> ###  #
     cnv = document.getElementById("puzzle-widget")
     @context = cnv.getContext('2d')
     xy = @get_hex_xy(a,b)

      @test_left_right_top_bottom(aa,b2)
    @get_corner_fit()
    @get_anchor_hex()
    console.log "      anchor_hex is [#{@anchor_hex[0]},#{@anchor_hex[1]}]"
    @get_box_xy()
    @get_height_width()
    console.log "         @get_height_width()"
    console.log "             right = #{@right}"
    console.log "              left = #{@left}"
    console.log "            bottom = #{@bottom}"
    console.log "               top = #{@top}"
    console.log "             width = #{@width}"
    console.log "            height = #{@height}"
    @get_box_corner_to_anchor_hex_center()



get_photo = (app) ->
  photo = new Image()
  photo.onload = =>
    app.puzzle_view.photo = photo
    app.puzzle_view.draw_photo()
    if app.load_status == "pattern"
      app.load_status = "ready"
      app.pz_status.start_new_puzzle()
    else
      app.load_status = "photo"
