2021-06-10 16:53:38 +02:00
|
|
|
#ifndef KOLIBRI_RASTERWORKS_H
|
|
|
|
#define KOLIBRI_RASTERWORKS_H
|
|
|
|
|
2022-01-12 19:09:37 +01:00
|
|
|
#include <stddef.h>
|
2021-06-10 16:53:38 +02:00
|
|
|
|
2022-01-12 19:09:37 +01:00
|
|
|
int kolibri_rasterworks_init(void);
|
2021-06-10 16:53:38 +02:00
|
|
|
|
2022-01-12 19:09:37 +01:00
|
|
|
extern void __stdcall (*drawText)(void *canvas, int x, int y, const char *string, int charQuantity, int fontColor, int params);
|
|
|
|
extern int __stdcall (*countUTF8Z)(const char *string, int byteQuantity) __asm__("cntUTF-8");
|
|
|
|
extern int __stdcall (*charsFit)(int areaWidth, int charHeight);
|
|
|
|
extern int __stdcall (*strWidth)(int charQuantity, int charHeight);
|
|
|
|
|
|
|
|
#endif /* KOLIBRI_RASTERWORKS_H */
|