1 #ifndef _GRAPHICS_MAIN_H_
2 #define _GRAPHICS_MAIN_H_
84 uint32_t decimalCount,
void graphics_DrawBuffer(void *buffer, uint32_t x, uint32_t y, uint32_t width, uint32_t height)
Draw a buffer to the screen.
Definition: graphics.c:214
uint32_t width
Definition: graphics.c:14
uint32_t height
Definition: graphics.c:14
void graphics_Initialize(void)
Initialize the graphics library.
Definition: graphics.c:20
void graphics_SetPixel(uint32_t x, uint32_t y, uint32_t val)
Set the value of a pixel.
Definition: graphics.c:206
void graphics_WriteFloat(float val, uint32_t decimalCount, int xOff, int yOff)
Write a float to the screen.
Definition: graphics.c:170
void graphics_WriteUInt32(uint32_t val, int base, int xOff, int yOff)
Write a uint32_t to the screen.
Definition: graphics.c:138
void graphics_WriteStr(const char *str, int xOff, int yOff)
Write a string to the screen.
Definition: graphics.c:110
void graphics_Clear(void)
Clear the backbuffer.
Definition: graphics.c:96
void graphics_SwapBuffer(void)
Copy the backbuffer contents to the display buffer.
Definition: graphics.c:57
void graphics_WriteUInt64(uint64_t val, int base, int xOff, int yOff)
Write a uint64_t to the screen.
Definition: graphics.c:154