define(function() {
var make = function(canvas_id) {
var canvasElem_ = canvas_id ?
document.getElementById(canvas_id) :
document.createElement("canvas");
var canvas_ = canvasElem_.getContext('2d');
var width_ = canvasElem_.width;
var height_ = canvasElem_.height;
var scale_ = 1;
return {
fontHeight: 10, // font is 10px when canvas is created.
fontBold: false,
fontItalic: false,