Dear list,

I'm taking my first steps into making some Dia shapes but I'm having
some trouble with the size of the shapes when you add one to your
layout. Ideally I'd like to create shapes with a predefined size and
that aren't scalable. I'd like to use these shapes to draw electrical
schematics.

If I create a shape with either a size of 1000 or 1, the object is
always the same size when adding them to the layout.

<?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</name>
  <icon>shape.png</icon>
  <aspectratio type="fixed"/>
  <svg:svg>
    <svg:rect style="fill: inverse" x="0" y="0" width="1000" height="1000"/>
  </svg:svg>
</shape>

... is the same size as:

<?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</name>
  <icon>shape.png</icon>
  <aspectratio type="fixed"/>
  <svg:svg>
    <svg:rect style="fill: inverse" x="0" y="0" width="1" height="1"/>
  </svg:svg>
</shape>

How can I create a smaller shape? Bonus points for telling me how I
can create a non-scalable shape ;)


Cheers!

Harold
_______________________________________________
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia

Reply via email to