Sven de Marothy wrote:
Hey,
I'm not sure I quite support this yet, since it does mean losing some
existing functionality. (For instance, drawing a dashed line)
(Not that I don't hate the Cairo peer mess as much as anyone else..)
What I think I'd really prefer for the time being would be to keep the
Cairo Graphics2D around a bit longer and just bump GtkGraphics up
to Graphics2D-using-AbstractGraphics2D.
Would that be OK?
I guess that would allow us to play the two implementations off each
other and keep the relevant code in view.
In this patch I changed GtkComponentPeer to use forced-realization so I
will remove all the Unlocked methods from GdkGraphics2D, which are a
large part of the mess.
Tom