bcc32: add rasterworks example

git-svn-id: svn://kolibrios.org@9940 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
IgorA
2023-09-22 07:12:51 +00:00
parent f09b60cdf3
commit d9820a5748
5 changed files with 161 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#ifndef __L_RASTERWORKS_INCLUDED_
#define __L_RASTERWORKS_INCLUDED_
//
// rasterworks - import table
//
#define import_rasterworks drawText
void (__stdcall* drawText)(void *canvas, long x, long y, const char *string, long charQuantity, long fontColor, long params) = (void (__stdcall*)(void*, long, long, const char*, long, long, long))&"drawText";
long (__stdcall* countUTF8Z)(const char *string, long byteQuantity) = (long (__stdcall*)(const char*, long))&"countUTF8Z";
long (__stdcall* charsFit)(long areaWidth, long charHeight) = (long (__stdcall*)(long, long))&"charsFit";
long (__stdcall* strWidth)(long charQuantity, long charHeight) = (long (__stdcall*)(long, long))&"strWidth";
asm{
dd 0,0
}
#endif /* __L_RASTERWORKS_INCLUDED_ */