Hello Mohammed, Put two painted widgets on top of each other. Draw background in one, the updates in the other.
Best regards, Wim. 2012/8/10 Mohammed Rashad <mohammedrasha...@gmail.com>: > How to paint using WSvgImage and WPainter > > I dont want WSvgImage to written to some file. I want to show a WSvgImage or > its sucessor classes as a Widget do all drawing on it. > intereactive drawing is what needed > > I can use WPaintedWidget and use paintEvent to draw. > > but if I have a big polygon to draw initially and do a tracing on it using > WPaintedWidget tracking mouseEvents > > for every call to update() the background polygon(large) is redrawn which is > not NEEDED and TIME CONSUMING. > > i can use update(PaintUpdate) but for this call will allow new lines to be > drawing but the background polygon is cleared off > > Any solution for this? > > BTW, where is the update() function defined. I mean which class it is > defined > > -- > Regards, > Rashad > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > witty-interest mailing list > witty-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest