MCPcopy Create free account
hub / github.com/BruceDevices/firmware / getColorDepth

Method getColorDepth

lib/TFT_eSPI/Extensions/Sprite.cpp:326–330  ·  view source on GitHub ↗

** Function name: getColorDepth ** Description: Get bits per pixel for colour (1, 8 or 16) ***************************************************************************************/

Source from the content-addressed store, hash-verified

324** Description: Get bits per pixel for colour (1, 8 or 16)
325***************************************************************************************/
326int8_t TFT_eSprite::getColorDepth(void)
327{
328 if (_created) return _bpp;
329 else return 0;
330}
331
332
333/***************************************************************************************

Callers 1

pushToSpriteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected