On Thu, 11 Oct 2012 01:37:12 -0700 (PDT) Chiyu Wang wrote:
CW> I am replacing wxDC with wxGraphicsContext, and I like to keep my code as
CW> much as possible. Then I can see that the type of font is changed, so I
CW> wonder if it is possible to get wxFont from wxGraphicsContext.
I don't think so, it only works in one direction, i.e. you can create
wxGraphicsFont from wxFont but not vice versa.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/