At 03:15 PM 05/10/2005 +0200, Jordi Mas wrote: >Hi all! > >As you probably know Cairo 1.0 includes antialiasing support. This is >something important for libgdiplus because all the drawing operations in >System.Windows.Forms are based on the old Windows GDI and they use no >antialiasing.
I don't have much to say about the rest of the e-mail, but this last statement is not true. System.Windows.Forms uses System.Drawing for all of its drawing needs, and System.Drawing is a relatively thin wrapper of GDI+, not the old GDI32. This is why libgdiplus is named the way it is; it is a copy of the new library Microsoft introduced in Windows 2000. GDI32 is invoked only at the very back end where it needs to copy GDI+ Bitmaps onto GDI32 DCs. You can enable anti-aliasing with: Graphics my_graphics = ...; my_graphics.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; Just thought I'd chime in with this, as it may be useful to any readers who are using System.Drawing :-) Jonathan Gilbert _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
