ApertureOS
Functions
graphics.h File Reference
#include "types.h"
#include "multiboot.h"
Include dependency graph for graphics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void graphics_Initialize (void)
 Initialize the graphics library. More...
 
void graphics_SwapBuffer (void)
 Copy the backbuffer contents to the display buffer. More...
 
void graphics_Clear (void)
 Clear the backbuffer. More...
 
void graphics_SetPixel (uint32_t x, uint32_t y, uint32_t val)
 Set the value of a pixel. More...
 
void graphics_WriteUInt32 (uint32_t val, int base, int xOff, int yOff)
 Write a uint32_t to the screen. More...
 
void graphics_WriteUInt64 (uint64_t val, int base, int xOff, int yOff)
 Write a uint64_t to the screen. More...
 
void graphics_WriteStr (const char *str, int xOff, int yOff)
 Write a string to the screen. More...
 
void graphics_WriteFloat (float val, uint32_t decimalCount, int xOff, int yOff)
 Write a float to the screen. More...
 
void graphics_DrawBuffer (void *buffer, uint32_t x, uint32_t y, uint32_t width, uint32_t height)
 Draw a buffer to the screen. More...