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

Re: Paint.Matrix


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

Follow-Ups:
Re: Paint.MatrixFabien Bodard <gambas.fr@xxxxxxxxx>
References:
Paint.MatrixFabien Bodard <gambas.fr@xxxxxxxxx>
Re: Paint.MatrixBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Paint.MatrixFabien Bodard <gambas.fr@xxxxxxxxx>
Re: Paint.MatrixFabien Bodard <gambas.fr@xxxxxxxxx>
Re: Paint.MatrixBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>