diff options
Diffstat (limited to 'matchblox/bitmap.h')
-rw-r--r-- | matchblox/bitmap.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/matchblox/bitmap.h b/matchblox/bitmap.h new file mode 100644 index 0000000..5aa9be6 --- /dev/null +++ b/matchblox/bitmap.h @@ -0,0 +1,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
|