kolibrios/contrib/C_Layer/INCLUDE/kolibri_rasterworks.h
Serhii Sakhno 69c1cf47a2 add wrappers for RasterWorks library
git-svn-id: svn://kolibrios.org@6494 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-08-19 10:14:48 +00:00

12 lines
564 B
C

#ifndef KOLIBRI_RASTERWORKS_H
#define KOLIBRI_RASTERWORKS_H
extern int kolibri_rasterworks_init(void);
extern void (*drawText)(void *canvas, int x, int y, const char *string, int charQuantity, int fontColor, int params) __attribute__((__stdcall__));
extern int (*countUTF8Z)(const char *string, int byteQuantity) __attribute__((__stdcall__));
extern int (*charsFit)(int areaWidth, int charHeight) __attribute__((__stdcall__));
extern int (*strWidth)(int charQuantity, int charHeight) __attribute__((__stdcall__));
#endif /* KOLIBRI_RASTERWORKS_H */