
Functions | |
| 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 behavior if used on images with other bit depths. it's because of alignment issues with the pixel data. | |
| void | ft_put_pixel_to_img_24bp (t_img *img, int x, int y, int color) |
| Special case for 24 bits per pixel images. | |
| void | ft_put_circle_to_img (t_mlx *mlx, void *win_ptr, t_img *img, t_circle element) |
| Put a circle to the image. | |
Put a circle to the image.
| [in,out] | mlx | mlx structure |
| [in,out] | win_ptr | window pointer |
| [in,out] | img | img structure |
| [in] | element | circle element to draw |

| 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 behavior if used on images with other bit depths. it's because of alignment issues with the pixel data.
| [in,out] | img | image structure |
| [in] | x | x axis |
| [in] | y | y axis |
| [in] | color | color |
| void ft_put_pixel_to_img_24bp | ( | t_img * | img, |
| int | x, | ||
| int | y, | ||
| int | color ) |
Special case for 24 bits per pixel images.
| [in,out] | img | image structure |
| [in] | x | x axis |
| [in] | y | y axis |
| [in] | color | color |