[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Paint.Matrix
[Thread Prev] | [Thread Next]
- Subject: Re: Paint.Matrix
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Thu, 12 Sep 2024 22:52:17 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 12/09/2024 à 21:25, Fabien Bodard a écrit :
Hi,formations liI'm currently writing a svg reader/render for my own use (In the more simplest way I can)In a svg file you can have cumulative transformations like : <gtransform="matrix(0.1672889,-0.8480899,0.8480899,0.1672889,-242.96302,703.59876)"id="g4504"> <g id="g4506" transform="matrix(1.0150594,0,0,1,129.84546,112.36284)"> <path sodipodi:nodetypes="csssssccc"Here you can see two group <G that apply two cumulative transformation (I have tested by commented each one)By Now I have a problem to traduce that in the paint class.. I'm not understanding how to cumulate matrix :/... Pleaaase help :-) -- Fabien Bodard
You must multiply the cumulative matrices, by using the PaintMatrix returned by Paint.Matrix.
Do you know matrix calculation? Regards, -- Benoît Minisini.
Re: Paint.Matrix | Fabien Bodard <gambas.fr@xxxxxxxxx> |
Paint.Matrix | Fabien Bodard <gambas.fr@xxxxxxxxx> |