The struct of type t_canvas contains the necessary fields for graphic initialization and window rendering. More...
#include <canvas.h>
Data Fields | |
void * | mlx_ptr |
void * | win_ptr |
void * | img_ptr |
char * | addr |
int | bpp |
int | line_len |
int | endian |
int | width |
int | height |
The struct of type t_canvas contains the necessary fields for graphic initialization and window rendering.
ABOUT THE HEADER CANVAS.H
This header contains all functions that works directly or indirectly with graphic information and MLX's library manipulation.
mlx_ptr | Contains the pointer to a connection with the Xserver. |
win_ptr | Contains the pointer to a window created with MLX. |
img_ptr | Contains the pointer to a image created with MLX. |
addr | Stores information about how to write data on pixels from an instance of a MLX's windows and image. |
bpp | Contains the bits per pixel value from MLX. |
line_len | Contains the line length value from MLX. |
endian | Stores the most significant endianess order from MLX. |
width | Stores the width of the window and the image created with MLX. |
height | Stores the height of the window and the image created with MLX. |