Embedded Xinu Operating System
An ongoing research project and educational operating system.
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
Functions
drawShapes.c File Reference
#include <stddef.h>
#include <string.h>
#include <framebuffer.h>

Functions

void drawPixel (int x, int y, ulong color)
 
void drawLine (int x1, int y1, int x2, int y2, ulong color)
 
void drawSegment (int x1, int y1, int x2, int y2, ulong color)
 
void drawRect (int x1, int y1, int x2, int y2, ulong color)
 
void fillRect (int x1, int y1, int x2, int y2, ulong color, bool gradient)
 
void drawCircle (int x0, int y0, int radius, ulong color)
 
void fillCircle (int x0, int y0, int radius, ulong color, bool gradient)
 
void drawBody (int x0, int y0, int radius, ulong color)
 
void fillBody (int x0, int y0, int radius, ulong color, bool gradient)
 

Detailed Description

Allows shapes to be rendered onscreen.