Is alpha blending implemented when using DC's?

Stefan Csomor csomor at advancedconcepts.ch
Mon May 12 07:02:24 PDT 2008


Hi

On 12.05.08 14:33, "Patrick Steele" <steele.patrick at gmail.com> wrote:

> Could someone please elaborate on when/why to use wxDC versus wxGCDC
> versus wxArt2D versus any others...?
> Thanks,
> Patrick

wxGCDC is a wxDC API conformant class that is using the newer
wxGraphicsContext et al for the implementation, wxGraphicsContext is the
'new drawing' API that is using the native representation GDIPlus on msw,
Quartz2D aka CoreGraphics on mac, Cairo on gtk.

So if you write new drawing code, and you are on a platform where one of
these three is available, I'd recommend using the API directly.

Best,

Stefan





More information about the wx-users mailing list