Lines Matching defs:size
507 // Do not try to change size of non-sizeable object.
805 // A local function to set font size with the global scaling factor in mind.
847 // Resize the canvas so that the figure fits the size of canvas.
850 canvas.width = metaObj.size[0] * scale;
851 canvas.height = metaObj.size[1] * scale;
1383 // Fill outside of valid figure area defined by metaObj.size with gray color.
1388 ctx.fillRect(x1, y1, Math.min(w1, metaObj.size[0]), Math.min(h1, metaObj.size[1]));
1391 // Sets the size of the canvas
1393 metaObj.size[0] = sx;
1394 metaObj.size[1] = sy;
1699 // Show size input layer on top of the canvas because the canvas cannot have
1713 lay.innerHTML = i18n.t('Input image size in pixels') + ':<br>'
1747 document.getElementById('sizeinputx').value = metaObj.size[0];
1748 document.getElementById('sizeinputy').value = metaObj.size[1];
1749 }), // size
2267 // Show size input layer on top of the canvas because the canvas cannot have
2653 var defaultMetaObj = {type: "meta", size: [1024-x1, 640-y1]};