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 » Look and Chameleon Technology » Why does ChPaint(..,img,...) have different behaviour with DRAW / PAINTER
Why does ChPaint(..,img,...) have different behaviour with DRAW / PAINTER [message #41192] Sun, 10 November 2013 19:13 Go to previous message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi all,

I have a problem, I am trying to draw some nice borders around text
and for this I thought using ChPaint() was a good idea ==> I benefit from the hotspots.

This works perfectly when the drawing uses DRAW.
But when I use PAINTER, the result is quite ugly.

It seems that the image processing (at least processing of the alpha value) is different with DRAW and PAINTER

In the example image showing the problem :
* "---M3---" : uses DRAW ==> looks is perfect
* " 2 " : uses PAINTER ==> alpha value seems to be summed with background color ==> leads to 'INVERSE VIDEO' like

Does someone have an idea why ?
Is their a restriction to use ChPaint() with PAINTER ??

index.php?t=getfile&id=4341&private=0

[Updated on: Sun, 10 November 2013 19:18]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: app window too big to show on ubuntu
Next Topic: [WIN] Chameleon - blocking style changes
Goto Forum:
  


Current Time: Fri May 10 08:08:19 CEST 2024

Total time taken to generate the page: 0.02752 seconds