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 » How must Alpha be managed ??
How must Alpha be managed ?? [message #38508] Fri, 21 December 2012 00:16 Go to previous message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi all,

I am currently trying to draw buttons that are transparent but they have special shapes.

For rectangles: it is easy, all I have to do is draw a small img in iml designer, set the RGBA values for all points and then use this image to draw in the dest rectangle.

For other shapes (circles for ex), I try to use ImageDraw and Alpha() method and it works ...

Question:
In the iml designer: all points are set to : RGBA(46,46,46,51)
Using Image Draw, I draw a circle with Color(46,46,46) and apply GreyColor(51)
... expecting to get RGBA(46,46,46,51)
But the result is not the same at all !! Sad

Which is the way to go ?? (the color obtained with src image gives me the result expected by client )
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Clipping region
Next Topic: Painter and transformations
Goto Forum:
  


Current Time: Sat Apr 20 16:57:21 CEST 2024

Total time taken to generate the page: 0.03057 seconds