Calculate given size to transform matrix

Discussion about writing code for Inkscape.
iconberg
Posts: 36
Joined: Wed Feb 04, 2015 7:46 pm

Calculate given size to transform matrix

Postby iconberg » Mon Mar 30, 2015 9:34 pm

Hello,

can anyone provide the source or information about calculate a given size for example 5cm x 3xm to correct values for the transform matrix?

greetz

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Calculate given size to transform matrix

Postby ragstian » Mon Mar 30, 2015 9:51 pm

Hi.

See section 7.4 in the SVG specifications.

"The Manual" also contains a section on transformations.

A tutorial on SVG transforms.

Chime back if more info is needed.
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Calculate given size to transform matrix

Postby Lazur » Mon Mar 30, 2015 10:17 pm

Hello there,

not sure what exactly are you after, this might also help:
http://www.inkscapeforum.com/viewtopic.php?f=5&t=16307.


Return to “Programming”