The changes to paint region handling are now committed to CVS.
Platform authors should check to see if they want to override the
implementation of PaintContains in their platform layers to perform
accurate region testing. If this is not overridden then testing is
against the bounding box of the update region (Editor::rcPaint).

   The only reason for having rcPaint is for the default check and it
would be a bit nicer to leave the test completely up to the platform
layers, removing rcPaint and making PaintContains pure virtual but
that would break those platforms until implemented.

   For GTK+, testing is currently performed against the region even
though the lack of clipping means that the whole bounding box is being
painted so the test could just be against that box. It is most likely
I'll change this back to not testing against the region unless
benchmarking shows that clipping is a performance win.

   Changes available from CVS and from
http://scintilla.sourceforge.net/scite.zip Source

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to