RenderFillRect ( render *rect -- 0|err )
publication: 2 novembre 2024 / mis à jour 8 novembre 2024
vocabulaire: SDL2
Remplit un rectangle dans le rendu actuel avec la couleur de dessin.
Exemple:
create RECTS
10 L, 10 L, 200 L, 120 L,
22 L, 22 L, 205 L, 125 L,
34 L, 34 L, 210 L, 130 L,
46 L, 46 L, 215 L, 135 L,
REN0 $FF $7D $5A $FF SetRenderDrawColor drop
REN0 3 RECTS ->SDL_Rect RenderFillRect drop
REN0 $45 $DC $FF $FF SetRenderDrawColor drop
REN0 2 RECTS ->SDL_Rect RenderFillRect drop
REN0 $45 $A3 $5E $FF SetRenderDrawColor drop
REN0 1 RECTS ->SDL_Rect RenderFillRect drop
REN0 RenderPresent drop
Legal: site web personnel sans commerce / personal site without seling
