GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Functions
gp_line.h File Reference

Line drawing algorithms. More...

#include <core/gp_types.h>

Go to the source code of this file.

Functions

void gp_line (gp_pixmap *pixmap, gp_coord x0, gp_coord y0, gp_coord x1, gp_coord y1, gp_pixel pixel)
 Classical Bresenham line drawing algorithm.
 
void gp_line_th (gp_pixmap *pixmap, gp_coord x0, gp_coord y0, gp_coord x1, gp_coord y1, gp_size r, gp_pixel pixel)
 Murphy thick line drawing algorithm.
 

Detailed Description

Line drawing algorithms.

Definition in file gp_line.h.