// x, y, width, height
SDL_Rect * rect = new SDL_Rect(10, 10, 10, 10);
// Colour rgba
SDL_SetRenderDrawColor( renderer, 0, 0, 255, 255 );
// Render rect
SDL_RenderFillRect( renderer, rect );
//x, y, width, height
SDL_Rect * rect = new SDL_Rect(10, 10, 10, 10);
//Colour rgba
SDL_SetRenderDrawColor( renderer, 0, 0, 255, 255 );
// Render rect
SDL_RenderFillRect( renderer, r );
Code Example |
---|
C :: string to int c |
C :: nginx reverse proxy nextcloud |
C :: tainted love |
C :: octave sum all elements in matrix |
C :: data types in c |
C :: c loop through binary search tree |
C :: is 33 prime number |
C :: c static |
C :: successeur ("123") |
C :: execute maven project in cmd |
C :: C how to find substring in string |
C :: hashmap c |
C :: c convert number to string |
C :: copy string c |
C :: get range of values in mongodb |
C :: list c |
C :: go optional parameters |
C :: array value from user c |
C :: array reference argument |
C :: C Passing Pointers to Functions |
C :: Write a C program to merge two array to third array. |
C :: houdini vex loop over points |
C :: c language string |
C :: clear screen in c |
C :: Rounding Floating Point Number To two Decimal Places in C |
C :: hourglass sum |
C :: subrayar elementos css |
C :: how to print % in c |
C :: get boolean from localstorage |
C :: static variable c |