Start on background properties
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@642 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
ea7133d271
commit
3065e6a451
|
@ -294,7 +294,13 @@
|
||||||
<button id="tool_docprops_save">Save</button>
|
<button id="tool_docprops_save">Save</button>
|
||||||
<button id="tool_docprops_cancel">Cancel</button>
|
<button id="tool_docprops_cancel">Cancel</button>
|
||||||
|
|
||||||
|
<div id="change_background">
|
||||||
|
<label>Canvas Background:</label>
|
||||||
|
<div id="bkgnd_color" class="color_block" title="Change background color/opacity"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="change_resolution">
|
<div id="change_resolution">
|
||||||
|
<label>Resolution:</label>
|
||||||
<select id="resolution" label="Resolution:">
|
<select id="resolution" label="Resolution:">
|
||||||
<option selected="selected">640x480</option>
|
<option selected="selected">640x480</option>
|
||||||
<option>800x600</option>
|
<option>800x600</option>
|
||||||
|
|
|
@ -563,6 +563,13 @@ function BatchCommand(text) {
|
||||||
svgroot.setAttribute("xmlns", svgns);
|
svgroot.setAttribute("xmlns", svgns);
|
||||||
svgroot.setAttribute("xmlns:xlink", xlinkns);
|
svgroot.setAttribute("xmlns:xlink", xlinkns);
|
||||||
container.appendChild(svgroot);
|
container.appendChild(svgroot);
|
||||||
|
var svgbkgnd = svgdoc.createElementNS(svgns, "rect");
|
||||||
|
svgbkgnd.setAttribute("width", "100%");
|
||||||
|
svgbkgnd.setAttribute("height", "100%");
|
||||||
|
svgbkgnd.setAttribute("fill", "none");
|
||||||
|
svgbkgnd.setAttribute("fill-opacity", "100%");
|
||||||
|
svgbkgnd.setAttribute("id", "svgbkgnd");
|
||||||
|
svgroot.appendChild(svgbkgnd);
|
||||||
var svgzoom = svgdoc.createElementNS(svgns, "svg");
|
var svgzoom = svgdoc.createElementNS(svgns, "svg");
|
||||||
svgzoom.setAttribute('id', 'svgzoom');
|
svgzoom.setAttribute('id', 'svgzoom');
|
||||||
svgzoom.setAttribute('viewBox', '0 0 640 480');
|
svgzoom.setAttribute('viewBox', '0 0 640 480');
|
||||||
|
|
Loading…
Reference in New Issue