[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Paint.Matrix


Hi,formations li

I'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 :

<g

 transform="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

Follow-Ups:
Re: Paint.MatrixBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>