Notcurses 3.0.13
a blingful library for TUIs and character graphics
Loading...
Searching...
No Matches
blit.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef int(* ncblitter) (struct ncplane *n, int linesize, const void *data, int scaledy, int scaledx, const struct blitterargs *bargs)
 

Functions

void set_pixel_blitter (ncblitter blitfxn)
 

Typedef Documentation

◆ ncblitter

typedef int(* ncblitter) (struct ncplane *n, int linesize, const void *data, int scaledy, int scaledx, const struct blitterargs *bargs)

Definition at line 14 of file blit.h.

Function Documentation

◆ set_pixel_blitter()

void set_pixel_blitter ( ncblitter  blitfxn)

Definition at line 1289 of file blit.c.

1289 {
1290 struct blitset* b = notcurses_blitters;
1291 while(b->geom != NCBLIT_PIXEL){
1292 ++b;
1293 }
1294 b->blit = blitfxn;
1295}
@ NCBLIT_PIXEL
Definition notcurses.h:73
ncblitter_e geom
Definition internal.h:399
ncblitter blit
Definition internal.h:410