Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » ImageBuffer Paint problem
Re: ImageBuffer Paint problem [message #18363 is a reply to message #18362] Wed, 24 September 2008 21:52 Go to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
I think this is definitely quite confusing...

Anyway, let us say this strange requirement has its root in performance and implementation issues.

The main problem is that Image is sort of "immutable", which allows it to cache host platform resource handle. That is not possible with ImageBuffer, whose content can change at any moment.

If it would be supposed to work in "non-ugly" way, ImageBuffer <-> Image conversions would require the full copy of ImageBuffer pixels.

In practice, you should use ImageBuffer only as local variable, "Image content accesor". Or be very very careful...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Qtf enabled selectable label
Next Topic: How to Close Modal Dlg from Constructor?
Goto Forum:
  


Current Time: Fri May 10 01:45:29 CEST 2024

Total time taken to generate the page: 0.02745 seconds