68 t_circle element) __attribute__((deprecated));
Header file for all the types and structures of the project.
e_screen_size
Enum used to store the screen size. It is used to set the screen size in the settings....
Definition data_structure.h:52
struct s_img t_img
Definition data_structure.h:26
struct s_mlx t_mlx
Definition data_structure.h:29
void ft_put_circle_to_img(t_mlx *mlx, void *win_ptr, t_img *img, t_circle element)
Put a circle to the image.
Definition ft_draw_img.c:35
void ft_put_pixel_to_img(t_img *img, int x, int y, int color)
Should only be used for images with 32 bits per pixel. (standard) It will result as undefined behavio...
Definition ft_draw_img.c:17
void ft_put_circle_specific(t_mlx *mlx, void *win_settings_ptr, enum e_screen_size num, bool is_enabled)
Function to put the specific case of circles defined by the enum.
Definition ft_settings_draw_img.c:32
void ft_put_circle_to_win(t_mlx *mlx, void *win_ptr, t_circle element, bool is_enabled)
Put ON circle if is_enabled, put OFF circle if not.
Definition ft_settings_draw_img.c:17
void ft_put_pixel_to_img_24bp(t_img *img, int x, int y, int color)
Special case for 24 bits per pixel images.
Definition ft_draw_img.c:25
struct s_circle t_circle
Definition ft_draw.h:25
void ft_draw_circle(t_mlx *mlx, void *win_ptr, t_circle element) __attribute__((deprecated))
Draw a circle directly on the window.
Definition ft_draw_circle.c:18
void ft_put_all_circle_to_win(t_mlx *mlx, void *win_settings_ptr, bool is_enabled)
Function to pull all the circle to the window following their state.
Definition ft_settings_draw_img.c:57
Structure used to store circle informations.
Definition ft_draw.h:31
int y
Definition ft_draw.h:33
int radius
Definition ft_draw.h:34
int x
Definition ft_draw.h:32
int color
Definition ft_draw.h:35