Lines Matching refs:conf
16 conf = {}, // Configuration attributes
41 Util.conf_defaults(conf, that, defaults, [
82 if (! conf.target) { throw("target must be set"); }
84 if (typeof conf.target === 'string') {
88 c = conf.target;
104 conf.render_mode = "canvas rendering";
108 if (conf.prefer_js === null) {
110 conf.prefer_js = true;
126 changeCursor(conf.target, curDat, curDat, 2, 2, 8, 8);
128 if (conf.cursor_uri === null) {
129 conf.cursor_uri = true;
133 if (conf.cursor_uri === null) {
134 conf.cursor_uri = false;
141 conf.cursor_uri = false;
151 c = conf.target;
167 factor = conf.scale;
174 if (conf.scale === factor) {
179 conf.scale = factor;
182 c.style[tp] = "scale(" + conf.scale + ") translate(-" + x + "px, -" + y + "px)";
187 if (conf.true_color) {
190 bgr = conf.colourMap[color[0]];
206 var c = conf.target, v = viewport, cr = cleanRect,
209 if (!conf.viewport) {
401 rescale(conf.scale);
407 if (conf.logo) {
408 that.resize(conf.logo.width, conf.logo.height);
409 that.blitStringImage(conf.logo.data, 0, 0);
427 c_ctx.drawImage(conf.target, x1, y1, w, h, x2, y2, w, h);
442 if (conf.prefer_js) {
443 if (conf.true_color) {
446 bgr = conf.colourMap[color[0]];
465 if (conf.prefer_js) {
468 if (conf.true_color) {
471 bgr = conf.colourMap[color[0]];
494 if (conf.prefer_js) {
544 cmap = conf.colourMap;
556 if (conf.true_color) {
564 if (conf.true_color) {
581 if (conf.cursor_uri === false) {
586 if (conf.true_color) {
587 changeCursor(conf.target, pixels, mask, hotx, hoty, w, h);
589 changeCursor(conf.target, pixels, mask, hotx, hoty, w, h, conf.colourMap);
594 conf.target.style.cursor = "default";