.pio/libdeps/m5stack-core2/M5Core2/src/utility/Sprite.cpp
TFT_eSprite::TFT_eSprite(TFT_eSPI *tft)
{
  _tft = tft;     // Pointer to tft class so we can call member functions

  _iwidth    = 0; // Initialise width and height to 0 (it does not exist yet)
  _iheight   = 0;
  _bpp = 16;
  _iswapBytes = false;   // Do not swap pushImage colour bytes by default

  _created = false;

  _xs = 0;  // window bounds for pushColor
  _ys = 0;
  _xe = 0;
  _ye = 0;

  _xptr = 0; // pushColor coordinate
  _yptr = 0;

  _xpivot = 0;
  _ypivot = 0;

  this->cursor_y = this->cursor_x = 0; // Text cursor position
}
/***************************************************************************************
** Function name:           TFT_eSprite
** Description:             Class constructor
*************************************************************************************x*/
Function name:           TFT_eSprite
Description:             Class constructor
x
Function name : TFT_eSprite Description : Class constructor x
TFT_eSprite::TFT_eSprite(TFT_eSPI *tft)
{
  _tft = tft;     
  _iwidth    = 0; 
  _iheight   = 0;
  _bpp = 16;
  _iswapBytes = false;   
  _created = false;
  _xs = 0;  
  _ys = 0;
  _xe = 0;
  _ye = 0;
  _xptr = 0; 
  _yptr = 0;
  _xpivot = 0;
  _ypivot = 0;
  this->cursor_y = this->cursor_x = 0; 
}
TFT_eSprite :: TFT_eSprite ( TFT_eSPI * tft ) { _tft = tft ; _iwidth = 0 ; _iheight = 0 ; _bpp = 16 ; _iswapBytes = false ; _created = false ; _xs = 0 ; _ys = 0 ; _xe = 0 ; _ye = 0 ; _xptr = 0 ; _yptr = 0 ; _xpivot = 0 ; _ypivot = 0 ; this -> cursor_y = this -> cursor_x = 0 ; }
Function name:           TFT_eSprite
Description:             Class constructor
x
Function name : TFT_eSprite Description : Class constructor x
// Pointer to tft class so we can call member functions // Initialise width and height to 0 (it does not exist yet) // Do not swap pushImage colour bytes by default // window bounds for pushColor // pushColor coordinate // Text cursor position