From: Robert Roebling Date: Fri, 25 Apr 2008 10:06:26 +0000 (+0000) Subject: Mention graphics device classes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/12133c3b42e4f9efb0363c4be9166e4ea78845fd Mention graphics device classes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/dc.h b/interface/dc.h index 509c734098..4def17d77f 100644 --- a/interface/dc.h +++ b/interface/dc.h @@ -15,6 +15,10 @@ a window can have a device context associated with it, and a printer also has a device context. In this way, the same piece of code may write to a number of different devices, if the device context is used as a parameter. + + wxWidgets offers alternative drawing classes based on the modern drawing + backends GDI+, CoreGraphics and Cairo. See wxGraphicsContext, wxGraphicsRenderer + and related classes. Notice that wxDC is an abstract base class and can't be created directly, please use wxPaintDC, wxClientDC, wxWindowDC, wxScreenDC, wxMemoryDC or @@ -32,9 +36,8 @@ @section dc_alpha Support for Transparency / Alpha Channel - On Mac OS X, when using Core Graphics (wxMAC_USE_CORE_GRAPHICS set to 1), - colors with alpha are supported. Instances wxPen or wxBrush that are built - from wxColour use the color's alpha values when stroking or filling. + On Mac OS X colors with alpha are supported. Instances wxPen or wxBrush + that are built from wxColour use the color's alpha values when stroking or filling. @library{wxcore} @category{dc,gdi}