Generated by Doxygen 1.8.14
Neographics
Line

Functions

void n_graphics_prv_draw_1px_line_bounded (n_GContext *ctx, n_GPoint from, n_GPoint to, int16_t minx, int16_t maxx, int16_t miny, int16_t maxy)
 
void n_graphics_prv_draw_thick_line_bounded (n_GContext *ctx, n_GPoint from, n_GPoint to, uint8_t width, int16_t minx, int16_t maxx, int16_t miny, int16_t maxy)
 
void n_graphics_draw_line (n_GContext *ctx, n_GPoint from, n_GPoint to)
 

Detailed Description

Draw lines of arbitrary thickness.

Function Documentation

◆ n_graphics_draw_line()

void n_graphics_draw_line ( n_GContext ctx,
n_GPoint  from,
n_GPoint  to 
)

Draws a line.

◆ n_graphics_prv_draw_1px_line_bounded()

void n_graphics_prv_draw_1px_line_bounded ( n_GContext ctx,
n_GPoint  from,
n_GPoint  to,
int16_t  minx,
int16_t  maxx,
int16_t  miny,
int16_t  maxy 
)

Draws a 1px-thick line within given bounds.

◆ n_graphics_prv_draw_thick_line_bounded()

void n_graphics_prv_draw_thick_line_bounded ( n_GContext ctx,
n_GPoint  from,
n_GPoint  to,
uint8_t  width,
int16_t  minx,
int16_t  maxx,
int16_t  miny,
int16_t  maxy 
)

Draws a thick line (width >= 2).