CRset_render_color: Sets render drawing color.

Description Usage Arguments

Description

Sets render drawing color; this is the color used by the drawing functions: CRdraw_rect, CRdraw_lines, CRfill_rect, CRfill_circle, etc.

Usage

1
    CRset_render_color(graphics_list, color_list)

Arguments

graphics_list

a list containing pointers to window, renderer etc. created with CRopen.

color_list

list specifying color to be used (must contain r, g, b, and optionally a; to enable use of a, call CRallow_alpha first).


lorweiuk/CREx documentation built on May 30, 2019, 3:44 p.m.