ERIS CORE

◆ bltRAMDrive2FrameBuffer()

void AppWren::bltRAMDrive2FrameBuffer ( const char *  path,
const char *  filename,
int16_t  x,
int16_t  y,
bltMode  blt_mode 
)
inline

block tramsfer from ram drive file to the frame buffer

Parameters
path
filename
x
y
blt_mode

Definition at line 334 of file AppWren.h.

334  {
335  File file = wren_file_system.open(filename,O_RDONLY);
336  if(file.available()>0){
337  draw->bltRAMFileB(draw->getFrameBuffer(),SCREEN_WIDTH,SCREEN_HEIGHT,&file,x,y,blt_mode);
338  file.close();
339  }
340  }
ILI9341_t3_ERIS * draw
Definition: AppBaseClass.h:41
LittleFS_RAM wren_file_system
Definition: AppWren.h:33
void bltRAMFileB(uint16_t *dest_buffer, uint16_t dest_buffer_width, uint16_t dest_buffer_height, File *file, int16_t x, int16_t y, bltMode blt_mode)
blt from an open TinyFS open file pointer to a destination buffer

References ILI9341_t3_ERIS::bltRAMFileB(), AppBaseClass::draw, wren_file_system, AppBaseClass::x, and AppBaseClass::y.

Referenced by loadImageCallback().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: