Definition at line 108 of file TJpg_Decoder.cpp.hpp.
109{
110
112
113
114 if (!thisPtr) {
115 return 0;
116 }
117
118
119 if (!thisPtr->tft_output) {
120 return 0;
121 }
122
123
124 int16_t x = jrect->left + thisPtr->jpeg_x;
125 int16_t y = jrect->top + thisPtr->jpeg_y;
126 uint16_t w = jrect->right + 1 - jrect->left;
127 uint16_t h = jrect->bottom + 1 - jrect->top;
128
129
130 return thisPtr->tft_output(
x,
y, w, h, (
uint16_t*)bitmap);
131}
TJpg_Decoder() FL_NOEXCEPT
References TJpg_Decoder(), FL_NOEXCEPT, jpeg_x, jpeg_y, tft_output, fl::x, and fl::y.
Referenced by drawJpg().