The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
gfx_shapes.c File Reference

libgfx: lines. More...

#include "gfx_internal.h"

Functions

void gfx_line (gfx_buffer_t *buf, int32_t x0, int32_t y0, int32_t x1, int32_t y1, gfx_color_t color)
 a line one pixel wide from (x0, y0) to (x1, y1), both ends included, blended over what is there.

Detailed Description

libgfx: lines.

Function Documentation

◆ gfx_line()

void gfx_line ( gfx_buffer_t * buf,
int32_t x0,
int32_t y0,
int32_t x1,
int32_t y1,
gfx_color_t color )

a line one pixel wide from (x0, y0) to (x1, y1), both ends included, blended over what is there.