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 |
Didier
Messages: 697 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 ??
[Updated on: Sun, 10 November 2013 19:18] Report message to a moderator
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Dec 14 14:35:36 CET 2024
Total time taken to generate the page: 0.03216 seconds
|