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 » Draw, Display, Images, Bitmaps, Icons » Bug: ImageBuffer::alpha not initialised on X11
Re: Bug: ImageBuffer::alpha not initialised on X11 [message #15600 is a reply to message #15589] Wed, 30 April 2008 11:23 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
To be honest it doesn't make much difference to me now since I know about the problem Smile. But IMO ImageDraw should behave in exactly the same way on both platforms, it's annoying to write code that works on Win32 but not X11.

IMO the ideal solution would be to have it undefined in Win32 too. But if you think that is a bad idea for backwards-compatability reasons then yes, ImageDraw::alpha should be initialized to 0. Perhaps this could be done on the first call to Alpha() so there is no additional overhead for none-alpha situations?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: bug in ImageBuffer::Line() and operator[]
Next Topic: .pcx images [FEATURE REQUEST]
Goto Forum:
  


Current Time: Thu Sep 04 05:44:57 CEST 2025

Total time taken to generate the page: 0.04987 seconds