- 
	
	
		
			
			
				Contributing Member
			
			
			
			
				
					
						
					
				
			
			 
			
				
				
				
				
				
					    
				
			
		 
		
			
				
				
				
					Query with Filling Functions
				
				
						
						
				
					
						
							What is the diffrence between the two graphics function in C++ namely floodfill and setfillstyle. If someone could provide a example it would be more useful.
						
					 
					
				 
			 
			
			
		 
	 
		
	
 
                                             
- 
	
	
		
			
			
				Contributing Member
			
			
			
			
				
					
						
					
				
			
			 
			
				
				
				
				
				
					    
				
			
		 
		
			
				
				
				
					Re: Query with Filling Functions
				
				
						
						
				
					
						
							The floodfill() library function fills in the color in the interior of the object specified. The function starts the fill at a particular X,Y location inside the object which is specified in the first two arguments. 
The setfillstyle() function takes two arguments. The first argument is a pattern  and the second argument is the color.
						
					 
					
				 
			 
			
			
		 
	 
		
	
 
                                             
- 
	
	
		
			
			
				Contributing Member
			
			
			
			
				
					
						
					
				
			
			 
			
				
				
				
				
				
					    
				
			
		 
		
			
				
				
				
					Re: Query with Filling Functions
				
				
						
						
				
					
						
							Thank you very much for your detailed explanation christia. I could get a good idea about the two functions from your explanation. In fact I even tried a sample and could get my result as desired.
						
					 
					
				 
			 
			
			
		 
	 
		
	
 
                                             
		
		
		
	
 
	
	
	
	
	
	
	
	
	
	
	
	
		
		
			
				
				Posting Permissions
			
			
				
	
		- You may not post new threads
 
		- You may not post replies
 
		- You may not post attachments
 
		- You may not edit your posts
 
		-  
 
	
	
	Forum Rules