code: function(){
  		var puzzle = this.puzzle;
  		var g = this.context = (!!puzzle.canvas ? puzzle.canvas.getContext("2d") : null);
  		if(g.use.canvas){
  			this.subcontext = (!!puzzle.subcanvas ? puzzle.subcanvas.getContext("2d") : null);
  			this.useBuffer = !!this.subcontext;
  		}
  		
  		if(this.canvasWidth===null || this.canvasHeight===null){
  			var rect = pzpr.util.getRect(puzzle.canvas);
  			this.resizeCanvas(rect.width, rect.height);
  		}
  		
  		this.pendingResize = true;
  		this.resize_canvas_main();
  		puzzle.emit('canvasReady');
  		
  		this.unsuspend();
  	}
docs: --------------------------------------------------------------------------- pc.initCanvas()       このオブジェクトで使用するキャンバスを設定する ---------------------------------------------------------------------------