Hey Roman, 2009/11/3 netconnect - Roman Zotter <[email protected]>: > Hey guys, > > > > i want to draw a WImage/WImageResource to a WPainter object. > > Is it possible to do this or do I have to save the image temporarly and use > WPainter::Image class? > > Hope someone can help me with this ;-)
Although WPainter::Image does not provide direct support for a WResource, you can use WResource::generateUrl() [or, with the latest git: WResource::url()] to pass it the URL of a resource, instead of the url of a static file. Regards, koen ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
