[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Paint.Matrix
[Thread Prev] | [Thread Next]
- Subject: Re: Paint.Matrix
- From: Fabien Bodard <gambas.fr@xxxxxxxxx>
- Date: Fri, 13 Sep 2024 16:04:33 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le ven. 13 sept. 2024 à 15:48, Benoît Minisini < benoit.minisini@xxxxxxxxxxxxxxxx> a écrit : > 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.Matrix > > Paint.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) > no differences Is there a way to get the resulting matrix values ? I will try to make a smaller file exemple to get it step by step > > -- > Benoît Minisini. > > > -- Fabien Bodard
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> |
Re: Paint.Matrix | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |