al_map_rgba_f

ALLEGRO_COLOR al_map_rgba_f(float r, float g, float b, float a)
Introduced in 5.0.0

Convert r, g, b, a (ranging from 0.0f-1.0f) into an ALLEGRO_COLOR.

See also: al_map_rgba, al_map_rgb, al_map_rgb_f

Examples: ex_bitmap_flip, ex_bitmap_target, ex_blend, ex_blend2, ex_blend_test, ex_blit, ex_display_options, ex_draw_bitmap, ex_expose, ex_haiku, ex_lines, ex_logo, ex_mixer_pp, ex_mouse_cursor, ex_prim, ex_resize, ex_rotate, ex_scale, ex_threads, ex_timedwait, ex_transform, ex_ttf


Most helpful discussions:

Other recent discussions: