Hello to all,
I am new in svg and don't have any idea of all functions
first let me clear what I want to implement,
I want to make a shape in dia that have one textbox, one rectangle on its right side and 2 images in rightmost side,
the code is like .....
Now i want to scale the rectangle but not the 2 images ,
Can any one tell me what property to set for image ,
I think its preserveAspectR atio but not exactly have any idea,
Please replay me its very urgent,
Thanks,
***Added code tags****
-stang02gt
I am new in svg and don't have any idea of all functions
first let me clear what I want to implement,
I want to make a shape in dia that have one textbox, one rectangle on its right side and 2 images in rightmost side,
the code is like .....
Code:
<?xml version="1.0"?>
<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
<name>shape - m2o</name>
<description>M2O</description>
<icon>m2o_real.png</icon>
<aspectratio type="free"/>
<textbox x1="-60.0" y1="20.0" x2="-60.0" y2="15.0" resize="no" align="right"/>
<svg:svg width="165" height="40">
<svg:rect x="0" y="5" width="150" height="20" fill="default" stroke="#777777" stroke-width="0.2"/>
<svg:image x="145" y="-10" width="40" height="40" href="1.png"/>
<svg:image x="165" y="-10" width="40" height="40" href="2.png" />
</svg:svg>
</shape>
Now i want to scale the rectangle but not the 2 images ,
Can any one tell me what property to set for image ,
I think its preserveAspectR atio but not exactly have any idea,
Please replay me its very urgent,
Thanks,
***Added code tags****
-stang02gt
Comment