ERIS CORE
◆
Surface()
[4/5]
Surface::Surface
(
uint16_t *
buffer
,
int16_t
width
,
int16_t
height
)
inline
Definition at line
112
of file
ILI9341_t3_ERIS.h
.
112
{
113
//take an existing buffer as the surface buffer
114
guid
= (uint32_t)buffer * ((uint32_t)width<<11) / (1 + (uint32_t)height);
115
pSB
= buffer;
116
w
= width;
117
h
= height;
118
alloc_size
=
w
*
h
;
119
head
= 0;
//used for sub surface allocation
120
/*
121
Serial.print(F("M Surface assigned: "));
122
Serial.print(alloc_size);
123
Serial.print(F(" pixels GUID: "));
124
Serial.println(guid);
125
*/
126
}
Surface::head
uint32_t head
Definition:
ILI9341_t3_ERIS.h:179
Surface::alloc_size
uint32_t alloc_size
Definition:
ILI9341_t3_ERIS.h:177
Surface::pSB
uint16_t * pSB
Definition:
ILI9341_t3_ERIS.h:174
Surface::w
uint16_t w
Definition:
ILI9341_t3_ERIS.h:175
Surface::h
uint16_t h
Definition:
ILI9341_t3_ERIS.h:176
Surface::guid
uint32_t guid
Definition:
ILI9341_t3_ERIS.h:178
References
alloc_size
,
guid
,
h
,
head
,
pSB
, and
w
.
Surface
Generated by
1.9.1