al_color_cmyk_to_rgb(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

al_color_cmyk_to_rgb β€” it's giving Allegro 5 API, bestie πŸ’– (yes, that's the 3alleg5 manual, we're in the Allegro reference manual, come thru)


🌈 SYNOPSIS 🌈

#include <allegro5/allegro_color.h>

void al_color_cmyk_to_rgb(float cyan, float magenta, float yellow,
    float key, float *red, float *green, float *blue)

okay so you gotta pull in the header first, no cap 🫢


πŸŽ€ DESCRIPTION πŸŽ€

Bestie. Listen. This function converts CMYK values to RGB values. That's it. That's the whole job. πŸ¦‹

You hand it cyan, magenta, yellow, and key β€” those are your CMYK floats, the printer-girlie color model β€” and it fills in red, green, and blue through those pointers for you. Color conversion, slay, periodt. πŸ’…


πŸ’œ SEE ALSO πŸ’œ


and that's the whole page, gorgeous β€” straight outta the Allegro reference manual, section 3alleg5, al_color_cmyk_to_rgb(3alleg5), mwah πŸ’‹βœ¨ go convert some colors, you ate πŸ“πŸ‘‘

πŸ“¦ where this page comes from