libctr9
Nintendo 3DS ARM9 library
ctr_gfx.h File Reference

Go to the source code of this file.

Data Structures

struct  ctr_gfx_context
 

Enumerations

enum  ctr_gfx_screen { CTR_GFX_SCREEN_TOP, CTR_GFX_SCREEN_BOTTOM }
 

Functions

void ctr_gfx_initialize (ctr_gfx_context *aContext, void *aTopFB, void *aBottomFB)
 
uint32_t ctr_gfx_get_pixel (ctr_gfx_screen aScreen, size_t x, size_t y)
 
void ctr_gfx_set_pixel (ctr_gfx_screen aScreen, size_t x, size_t y, uint32_t aPixel)
 
void ctr_gfx_draw_line (ctr_gfx_screen aScreen, size_t x1, size_t y1, size_t x2, size_t y2, uint32_t aPixel)