src/player/color.h File Reference

Main Page Alphabetical List Data Structures File List Data Fields Globals

# color.h File Reference

## Functions
wmfRGB | wmf_rgb_white (wmfAPI *API)
wmfRGB | wmf_rgb_black (wmfAPI *API)
wmfRGB | wmf_rgb_color (wmfAPI *API, float red, float green, float blue)

## Function Documentation

wmfRGB wmf_rgb_black | ( | wmfAPI * | API | ) |

  | The color black. Parameters:
  API | the API handle
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.

wmfRGB wmf_rgb_white | ( | wmfAPI * | API | ) |

  | The color white. Parameters:
  API | the API handle
Returns: Returns wmf_white.