[wxPython-users] wxGraphicsContext and printing

Sébastien Ramage sebastien.ramage at gmail.com
Thu Jun 7 10:17:48 PDT 2007


yes it can be a good alternative
can you give me a example of the use of wx.MemoryDC ? because I've tried to
render into a memoryDC and then blit it on the printerdc but it didn't work

thank you

Seb

2007/6/7, Robin Dunn <robin at alldunn.com>:
>
> S=E9bastien Ramage wrote:
> > Hello !
> >
> > I've made a canvas using wxGraphicsContext and I need to print drawing I
> > make with my canvas
> >
> > How can I do it??
> > wxPrinterDC don't work with wxGraphicsContext
>
> wxGraphicsContext is still new and doesn't have printer support yet.
> The best that can be done currently is to render the context to a bitmap
> using a wx.MemoryDC and then print the bitmap using the normal print
> framework
>
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org  Java give you jitters?  Relax with wxPython!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200706=
07/dfe95ee0/attachment.htm


More information about the wxpython-users mailing list