[wx-dev] wxDC::CreateGraphicsContext() for printing
Stefan Csomor
csomor at advancedconcepts.ch
Fri Apr 25 11:42:01 PDT 2008
Hi Robert
why don't we just extend the Renderer::CreateContext( const wxYetAnotherDC&
dc ) APIs for wxPrinterDC? instead of introducing a dependancy on the
wxGraphics classes into the wxDC code ?
Best,
Stefan
On 25.04.08 13:08, "Robert Roebling" <robert at roebling.de> wrote:
>
> Hi (Stefan?),
>
> I just added wxDC::CreateGraphicsContext() with an obvious
> meaning and implemented it trivially for wxWindowC, wxMemoryDC
> on wxMSW and for wxWindowC, wxMemoryDC and wxGtkPrintDC on
> GTK+. I don't know how to create a GDI+ wxGraphicsContext from
> a Windows printing DC, but according to MSDN, this should
> be trivial, so I'd like to ask if someone else could add
> this overload, which should make printing with the new
> graphics device API possible.
>
> Robert
>
>
> _______________________________________________
> wx-dev mailing list
> wx-dev at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wx-dev
--
Advanced Concepts AG
Software-Engineering
Heldweg 10
CH-8475 Ossingen
Switzerland
phone:+41 52 245 0 245
fax:+41 52 245 0 246
http://www.advanced.ch
mailto:csomor at advanced.ch
More information about the wx-dev
mailing list