Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » High Performance Drawing
Re: High Performance Drawing [message #13705 is a reply to message #13703] |
Wed, 23 January 2008 17:10 |
cbpporter
Messages: 1401 Registered: September 2007
|
Ultimate Contributor |
|
|
luzr wrote on Wed, 23 January 2008 17:01 |
Maybe I have lost the context (again?), but what is wrong with BackPaint?
|
Nothing wrong with BackPaint. IMO, it works just great.
But I need a GUI which is used to create quite complex images, one step at a time, including alpha-blending and antialiasing, so I'm basically stucked with using a manual backbuffer, because I need to both read and write raw pixel information. Painting that buffer is too slow.
These shapes were organized an a tree structure, and when I want to modify one of them by mouse interaction, I would deactivate the old element, redraw the image without it, and during drag operations with mouse only use a sketch of that given figure, even something as simple as RectBand (I don't remember how the rubber band rectangle from U++ was called).
Quote: | If widget is transparent, very complex code is used to paint it. Is it transparent?
|
Not transparent, but still excellent performance and no flicker. Like a full screen populated ArrayCtrl.
|
|
|
|
|
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 04:30:58 CEST 2024
Total time taken to generate the page: 0.06074 seconds
|