14 #ifndef _PieDock_Surface_
15 #define _PieDock_Surface_
37 inline unsigned char *getData()
const {
return data; }
38 inline const int &getWidth()
const {
return width; }
39 inline const int &getHeight()
const {
return height; }
40 inline const int &getDepth()
const {
return depth; }
41 inline const int &getBytesPerPixel()
const {
return bytesPerPixel; }
42 inline const int &getBytesPerLine()
const {
return bytesPerLine; }
43 inline const int &getPadding()
const {
return padding; }
44 inline const int &getSize()
const {
return size; }
49 inline void setData(
unsigned char *d ) { data = d; }