kolibrios-fun/programs/bcc32/include/l_rasterworks.h
IgorA d9820a5748 bcc32: add rasterworks example
git-svn-id: svn://kolibrios.org@9940 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-22 07:12:51 +00:00

18 lines
761 B
C

#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_ */