Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » High Performance Drawing
Re: High Performance Drawing [message #13329 is a reply to message #13328] |
Tue, 01 January 2008 23:54 |
phirox
Messages: 49 Registered: December 2007
|
Member |
|
|
Ok I was further playing and found out that you can use DrawingDraw for much faster performance. Basically this solves the problem imo.
Use the following piece of code in your Paint routine:
DrawingDraw dd(GetSize());
dd.DrawRect(GetSize(), White);
dd.DrawLine(x,y,150,150,50,Blue);
draw.DrawDrawing(0, 0, GetSize().cx, GetSize().cy, dd);
You can turn on backpainting for a flicker-free version, with a small performance hit.
|
|
|
|
|
High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Sun, 16 December 2007 23:15
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Mon, 17 December 2007 14:47
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Wed, 26 December 2007 14:16
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Tue, 01 January 2008 10:54
|
|
|
Re: High Performance Drawing
By: phirox on Tue, 01 January 2008 21:21
|
|
|
Re: High Performance Drawing
By: phirox on Tue, 01 January 2008 23:54
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Wed, 02 January 2008 22:00
|
|
|
Re: High Performance Drawing
By: phirox on Sat, 05 January 2008 19:55
|
|
|
Re: High Performance Drawing
By: mirek on Sun, 06 January 2008 08:54
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
By: mirek on Wed, 23 January 2008 17:01
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
|
|
|
Re: High Performance Drawing
|
Goto Forum:
Current Time: Mon Apr 29 05:39:51 CEST 2024
Total time taken to generate the page: 0.07799 seconds
|