Hi,

So this neat trick actually has to do with translations and efficiency, now I get it. May some one also kindly specify the reason I was suggested to modify the matrix to an identity one. I mean how would changing _doc2dt to an identity matrix help in the bug reduction(I am asking this not to comment or question anybody, I am just unaware...). Besides if developers may also guide me as to what are the other classes which I need to take care of for this bug fixing, like any GUI class which shows the left hand scale, or any core class on which the other classes depends for the co-ordinate system(as of now, that core class seems to be SP-Desktop); then it would be of real help.

Thank You.

On Sun, Mar 28, 2010 at 5:31 PM, Niko Kiirala <niko@...1267...> wrote:
Sun, 28 Mar 2010 13:28:45 +0530
Abhishek Sharma <spyzer.abhishek0@...400...> kirjoitti:

> but what i
> also noticed was that, at implementation level the _doc2dt was not a
> matrix but an array of size 6 and if logically seen as matrix ->
> _doc2dt has 3x2 dimensions, so i didn't quite get as to how it can be
> an identity matrix, but still...

This is a common trick in 2D graphics. A 3x3 matrix can represent
combinations of scaling, rotation, shearing and translating for
2-dimensonal images. However, none of these operations modify the third
row of the transformation matrix, so only the first two rows are stored
and the third row is assumed to contain (0, 0, 1)

--
Niko Kiirala
niko@...1267...

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@...1794...s.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel



--
Abhishek Sharma
B-Tech Information Technology
Indian Institute of Information Technology(Amethi Campus)