Node: Defining and Initializing Colors, Next: , Previous: Querying Colors, Up: Color Reference



Defining and Initializing Colors

void define_color_mp () const function
Writes MetaPost code to out_stream, in order to define objects of type color within MetaPost, and set their redparts, greenparts, and blueparts.

void initialize_colors (void) Static function
Calls define_color_mp() (described above) for the Colors that are defined in namespace Colors (see Namespace Colors).