[Qt-interest] [Mac] Paint to a specific CGContextRef?
Paul Colby
qt at colby.id.au
Thu Dec 10 23:09:54 CET 2009
On Fri, Dec 11, 2009 at 2:17 AM, Girish Ramakrishnan
<girish at forwardbias.in> wrote:
>> Is there some way that I can tell a Qt widget use a specific
>> CGContextRef for painting?
>
> AFAIK, no.
Thanks Girish, I suspected that would be the case :(
> But you can get the GCContextRef from any QWidget/QPixmap
> using the internal but exported qt_mac_cg_context.
Yeah, I discovered that one while looking through the Qt source... of
course, I want to go in the other direction (which doesn't look like
is possible).
BTW, very interesting blog post ;)
Thanks again.
pc
----
http://colby.id.au
>
> Girish
>
> P.S. I just blogged about Qt/WebKit and NPAPI at
> http://blog.forwardbias.in/2009/12/flash-in-qgraphicsview.html
>
More information about the Qt-interest-old
mailing list