code: function setCanvas_main(puzzle, type){
  	/* fillTextが使えない場合は強制的にSVG描画に変更する */
  	if(type==='canvas' && !!pzpr.Candle.enable.canvas && !CanvasRenderingContext2D.prototype.fillText){ type = 'svg';}
  	
  	pzpr.Candle.start(puzzle.canvas, type, function(g){
  		pzpr.util.unselectable(g.canvas);
  		g.child.style.pointerEvents = 'none';
  		if(g.use.canvas && !puzzle.subcanvas){
  			var canvas = puzzle.subcanvas = createSubCanvas('canvas');
  			if(!!document.body){
  				canvas.id = "_"+(new Date()).getTime()+type; /* 何か他とかぶらないようなID */
  				canvas.style.position = 'absolute';
  				canvas.style.left = '-10000px';
  				canvas.style.top = '0px';
  				document.body.appendChild(canvas);
  			}
  		}
  		if(puzzle.ready){ postCanvasReady(puzzle);}
  	});
  }
docs: --------------------------------------------------------------------------- setCanvas_main()  描画キャンバスをセットする createSubCanvas() 補助キャンバスを作成する ---------------------------------------------------------------------------