MLX42 1.0
MLX42
|
#include "MLX42/MLX42_Int.h"
Go to the source code of this file.
Functions | |
void | mlx_draw_pixel (uint8_t *pixel, uint32_t color) |
void | mlx_put_pixel (mlx_image_t *image, uint32_t x, uint32_t y, uint32_t color) |
void mlx_put_pixel | ( | mlx_image_t * | image, |
uint32_t | x, | ||
uint32_t | y, | ||
uint32_t | color | ||
) |
Sets / puts a pixel onto an image.
NOTE: It is considered undefined behaviour when putting a pixel beyond the bounds of an image.
[in] | image | The MLX instance handle. |
[in] | x | The X coordinate position. |
[in] | y | The Y coordinate position. |
[in] | color | The color value to put. |
Definition at line 26 of file mlx_put_pixel.c.