[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: Fri, 13 Sep 2024 15:47:54 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 13/09/2024 à 15:35, Fabien Bodard a écrit :
actually in the recursive process I use something like that : Public sub Render(hPath , ...) if hPath is Group then If o.Matrix Then hOldMatrix = Paint.MatrixPaint.Matrix = Paint.Matrix.Multiply(PaintMatrix(o.Matrix[0], o.Matrix[1], o.Matrix[2], o.Matrix[3], o.Matrix[4], o.Matrix[5]))Endif Render(o, NoDraw) If o.Matrix Then Paint.Matrix = hOldMatrix else drawpath endif so close to the success :-/
Did you try to multiply the other way?Paint.Matrix = PaintMatrix(o.Matrix[0], o.Matrix[1], o.Matrix[2], o.Matrix[3], o.Matrix[4], o.Matrix[5]).Multiply(Paint.Matrix)
-- Benoît Minisini.
Re: Paint.Matrix | Fabien Bodard <gambas.fr@xxxxxxxxx> |
Paint.Matrix | Fabien Bodard <gambas.fr@xxxxxxxxx> |
Re: Paint.Matrix | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Paint.Matrix | Fabien Bodard <gambas.fr@xxxxxxxxx> |
Re: Paint.Matrix | Fabien Bodard <gambas.fr@xxxxxxxxx> |