Alphacolor in wxPen definition

Stefan Csomor csomor at advancedconcepts.ch
Thu Sep 7 23:48:44 PDT 2006


Hi

> > yes, and I will post the (right now mac only) 
> wxGraphicContext API for 
> > discussion, once I am sure that it is at least feasible on 
> the three 
> > platforms. As this might be the point for extending things later,
> going
> > beyond what wxDC offers.
> 
> I may have missed a previous mail, but what is that class 
> supposed to do? A totally new drawing API?

it is encapsulating the objects and methods of these "paint" drawing
models whether you essentially have "paths" that are painted and filled
on a "graphic" context. This is the same for CoreGraphics, GDI+ and
Cairo

I have started using it in the dccp.cpp in mac long time ago, and at
that time talked about it on the list, but I was not doing it completely
everywhere (taking shortcuts), but during the last week I cleaned things
up. I'll commit this version shortly. The code in dccg.cpp is rerouting
the commands to such a graphics context. So it becomes kind of a
"generic" dc, allowing backwards compatibility for most operations.

Best,

Stefan




More information about the wx-users mailing list