Base units for Dia are centimeters. I believe you need to think in cm when making shapes. I don't make shapes, so hopefully someone else will chime in.
M On Tue, Nov 6, 2012 at 9:46 AM, Harold <harold+...@sait.nl> wrote: > 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 > > -- Put this question to yourself: should I use everyone else to attain happiness, or should I help others gain happiness? *Dalai Lama * To invent, you need a good imagination and a pile of junk. Thomas A. Edison<http://www.brainyquote.com/quotes/quotes/t/thomasaed125362.html> A public-opinion poll is no substitute for thought. *Warren Buffet* Michael E. Ross (919) 550-2430 Land (919) 576-0824 <https://www.google.com/voice/b/0?pli=1#phones> Google Phone (919) 631-1451 Cell (919) 513-0418 Desk michael.e.r...@gmail.com <michael.e.r...@gmail.com>
_______________________________________________ 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