diff options
Diffstat (limited to 'sca-java-2.x/trunk/modules/composite-diagram/output/Calculator_diagram.html')
-rwxr-xr-x | sca-java-2.x/trunk/modules/composite-diagram/output/Calculator_diagram.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/composite-diagram/output/Calculator_diagram.html b/sca-java-2.x/trunk/modules/composite-diagram/output/Calculator_diagram.html new file mode 100755 index 0000000000..9788bbce0a --- /dev/null +++ b/sca-java-2.x/trunk/modules/composite-diagram/output/Calculator_diagram.html @@ -0,0 +1,22 @@ +<html> +<head> +<h1 align='center'>Apache Tuscany - Composite Diagram Generator</h1> +<h2 align='center'>Calculator</h2> +</br> +<script type="text/javascript" src="/media/798D-18B1/GSoC-2011/GSoC-2011-Nirmal/CompositeDiagramGeneratorUsingBatik/resources/rgbcolor.js"></script> +<script type="text/javascript" src="/media/798D-18B1/GSoC-2011/GSoC-2011-Nirmal/CompositeDiagramGeneratorUsingBatik/resources/canvg-1.0.js"></script> +<script type="text/javascript"> +window.onload = function() { +//load '../path/to/your.svg' in the canvas with id = 'canvas' +canvg('canvas', 'Calculator_diagram.svg') +//load a svg snippet in the canvas with id = 'drawingArea' +canvg(document.getElementById('drawingArea'), '<svg>...</svg>') +canvg('canvas', 'Calculator_diagram.svg', {}) +} +</script> +</head> +<body> +<canvas id="canvas" width="1400px" height="1340px"> +</canvas> +</body> +</html>
\ No newline at end of file |