Go to the source code of this file.
Functions | |
void | FB_putpixel (int x, int y, FB_pixel color) |
FB_pixel | FB_getpixel (int x, int y) |
void | FB_vline (int x, int sy, int ey, FB_pixel color) |
void | FB_hline (int sx, int ex, int y, FB_pixel color) |
void | FB_line (int sx, int sy, int ex, int ey, FB_pixel color) |
void | FB_rect (int sx, int sy, int ex, int ey, FB_pixel color) |
void | FB_rectfill (int sx, int sy, int ex, int ey, FB_pixel color) |
void | FB_triangle (int x1, int y1, int x2, int y2, int x3, int y3, FB_pixel col) |
void | FB_circle (int cx, int cy, int radius, FB_pixel color) |
void | FB_clear_screen (FB_pixel color) |
Definition in file FBdraw.c.
|
Draws a pixel.
Definition at line 71 of file FBdraw.c. References FB_getxres(), and FB_getyres(). Referenced by FB_circle(), FB_clear_screen(), FB_hline(), FB_line(), FB_putc(), FB_rectfill(), and FB_vline(). |
|
Reads the color of a pixel.
Definition at line 86 of file FBdraw.c. References FB_getbpp(). |
|
Optimized version of line() to draw a vertical line Definition at line 103 of file FBdraw.c. References FB_getxres(), FB_getyres(), and FB_putpixel(). |
|
Optimized version of line() to draw an horizontal line Definition at line 135 of file FBdraw.c. References FB_getxres(), FB_getyres(), and FB_putpixel(). |
|
Draws a line.
Definition at line 165 of file FBdraw.c. References FB_hline(), FB_putpixel(), and FB_vline(). Referenced by FB_triangle(). |
|
Draws a rectangle (only borders).
Definition at line 241 of file FBdraw.c. References FB_hline(), and FB_vline(). |
|
Same as FB_rect, but the rectangle is filled Definition at line 253 of file FBdraw.c. References FB_getxres(), FB_getyres(), and FB_putpixel(). |
|
Draws a triangle
Definition at line 288 of file FBdraw.c. References FB_line(). |
|
Draws a circle
Definition at line 297 of file FBdraw.c. References FB_putpixel(). |
|
Fills all the screen with the same color. Currently VERY slow.
Definition at line 320 of file FBdraw.c. References FB_getxres(), FB_getyres(), and FB_putpixel(). |