ERIS CORE

◆ Surface() [5/5]

Surface::Surface ( int16_t  width,
int16_t  height 
)
inline

Definition at line 128 of file ILI9341_t3_ERIS.h.

128  {
129  //allocate and attach a buffer as the surface buffer
130  pSB = NULL;
131  w = width;
132  h = height;
133  head = 0;
134  uint16_t *buffer;
135  buffer = (uint16_t*)malloc(width*height*sizeof(uint16_t));
136  Surface(buffer,width,height);
137  Serial.print(F("M Surface buffer allocated: "));
138  Serial.print(alloc_size);
139  Serial.print(F(" pixels Surface GUID: "));
140  Serial.println(guid);
141  }
uint32_t head
uint32_t alloc_size
Surface(Surface *SubSurfaceFrom, SdFs *pSD, const char *path, const char *fileName)
uint16_t * pSB
uint16_t w
uint16_t h
uint32_t guid

References Surface(), alloc_size, guid, h, head, pSB, and w.

+ Here is the call graph for this function: