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: 736 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  
 |  
	| 
		
	 | 
 
 
 |  
  
 
	
	  | 
	 | 
	
		Why does ChPaint(..,img,...) have different behaviour with DRAW / PAINTER
		By:  Didier on Sun, 10 November 2013 19:13  
	 | 
 
	  | 
	 | 
	
		Re: Why does ChPaint(..,img,...) have different behaviour with DRAW / PAINTER
		By:  mirek on Mon, 25 November 2013 19:52  
	 | 
 
	  | 
	 | 
	
		Re: Why does ChPaint(..,img,...) have different behaviour with DRAW / PAINTER
		By:  Didier on Mon, 25 November 2013 20:20  
	 | 
 
	  | 
	 | 
	
		Re: Why does ChPaint(..,img,...) have different behaviour with DRAW / PAINTER
		By:  Didier on Mon, 23 December 2013 10:12  
	 | 
  
Goto Forum:
 
 Current Time: Tue Nov 04 11:17:32 CET 2025 
 Total time taken to generate the page: 0.06925 seconds 
 |