Generated by Doxygen 1.8.14
Neographics
Low-level

Functions

void n_graphics_set_pixel (n_GContext *ctx, n_GPoint p, n_GColor color)
 
void n_graphics_fill_pixel (n_GContext *ctx, n_GPoint p)
 
void n_graphics_draw_pixel (n_GContext *ctx, n_GPoint p)
 
void n_graphics_prv_draw_col (uint8_t *fb, int16_t x, int16_t top, int16_t bottom, int16_t minx, int16_t maxx, int16_t miny, int16_t maxy, uint8_t fill)
 
void n_graphics_prv_draw_row (uint8_t *fb, int16_t y, int16_t left, int16_t right, int16_t minx, int16_t maxx, int16_t miny, int16_t maxy, uint8_t fill)
 

Detailed Description

Low-level graphics routines. Not generally recommended for use, but available to anyone who needs some graphics speedup.

Function Documentation

◆ n_graphics_draw_pixel()

void n_graphics_draw_pixel ( n_GContext ctx,
n_GPoint  p 
)

Sets the color of a single pixel on the canvas to the current line color.

◆ n_graphics_fill_pixel()

void n_graphics_fill_pixel ( n_GContext ctx,
n_GPoint  p 
)

Sets the color of a single pixel on the canvas to the current fill color.

◆ n_graphics_prv_draw_col()

void n_graphics_prv_draw_col ( uint8_t *  fb,
int16_t  x,
int16_t  top,
int16_t  bottom,
int16_t  minx,
int16_t  maxx,
int16_t  miny,
int16_t  maxy,
uint8_t  fill 
)

Draws a one-pixel column pretty quickly.

◆ n_graphics_prv_draw_row()

void n_graphics_prv_draw_row ( uint8_t *  fb,
int16_t  y,
int16_t  left,
int16_t  right,
int16_t  minx,
int16_t  maxx,
int16_t  miny,
int16_t  maxy,
uint8_t  fill 
)

Draws a one-pixel row very quickly.

◆ n_graphics_set_pixel()

void n_graphics_set_pixel ( n_GContext ctx,
n_GPoint  p,
n_GColor  color 
)

Sets the color of a single pixel on the canvas.