ERIS CORE

◆ drawFill()

void AppWren::drawFill ( int16_t  r,
int16_t  g,
int16_t  b 
)
inline

fills the render target (either a surface or the framebuffer depending on )

Parameters
r
g
b

Definition at line 500 of file AppWren.h.

500  {
502  if (draw){
503  if (has_pop){
504  draw->fillScreen(CL(r,g,b));
505  } else{
506  if (!surface_cache) return;
508  }
509  }
510  return;
511  }
@ BLT_COPY
ILI9341_t3_ERIS * draw
Definition: AppBaseClass.h:41
Surface * surface_cache
Definition: AppWren.h:770
bool dynamicSurfaceManager()
responsible for managing the surface buffer memory allocation
Definition: AppWren.cpp:1541
void fillSurface(Surface *dest, uint16_t color, bltMode blt_mode=BLT_COPY)

References BLT_COPY, AppBaseClass::draw, dynamicSurfaceManager(), ILI9341_t3_ERIS::fillSurface(), AppBaseClass::has_pop, and surface_cache.

Referenced by drawFillCallback().

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