| 
  
  | 
     
  | 
 Whole document tree 
src/player/color.h File Reference
Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   
 color.h File Reference
 Function Documentation
 
  
    | 
       
     | 
    
 
The color black. - 
Parameters: 
 - 
 
 - 
Returns: 
 - 
Returns wmf_black. 
       | 
   
 
 
  
    
      
        
          |  
wmfRGB wmf_rgb_color 
           | 
          (  | 
          wmfAPI *           | 
           API,            | 
         
        
           | 
           | 
                   |  
           | 
           | 
          float           | 
           red,            | 
         
        
           | 
           | 
                   |  
           | 
           | 
          float           | 
           green,            | 
         
        
           | 
           | 
                   |  
           | 
           | 
          float           | 
           blue           | 
         
        
           | 
          )  | 
                     | 
         
       
     | 
   
 
  
    | 
       
     | 
    
 
Create a color with specified fractions of red, green and blue. - 
Parameters: 
 - 
| API
  | 
the API handle  |  
| red
  | 
fraction (0 to 1 inclusive) of color red  |  
| green
  | 
fraction (0 to 1 inclusive) of color green  |  
| blue
  | 
fraction (0 to 1 inclusive) of color blue
 
  |  
 
  wmf_rgb_color (API,1,1,1) returns wmf_white.
wmf_rgb_color (API,0,0,0) returns wmf_black.
 
 - 
Returns: 
 - 
Returns the color. 
       | 
   
 
 
  
    | 
       
     | 
    
 
The color white. - 
Parameters: 
 - 
 
 - 
Returns: 
 - 
Returns wmf_white. 
       | 
   
 
 Generated at Sun Oct 28 12:22:54 2001 for libwmf by
 1.2.9.1 written by Dimitri van Heesch,
 © 1997-2001
 |