summaryrefslogtreecommitdiffstats
path: root/matchblox/bitmap.h
blob: 5aa9be6e516c23456c324bbfa8284cd035881194 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _CBITMAP_H
#define _CBITMAP_H

#ifdef __cplusplus
extern "C" {
#endif


struct BitmapStruct {
  int m_iImageId;
  int m_iWidth;
  int m_iHeight;
};

struct BitmapStruct BitmapLoad(char *filename);
void BitmapRender(int f_iXPos, int f_iYPos, int f_iWidth, int f_iHeight, int f_iImageId);
void BitmapConvertWidth(struct BitmapStruct *f_sImage, double f_dHeight);


#ifdef __cplusplus
}
#endif

#endif