Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
20
Src/Wasabi/api/font/fontapi.h
Normal file
20
Src/Wasabi/api/font/fontapi.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#ifndef __FONTAPI_H
|
||||
#define __FONTAPI_H
|
||||
|
||||
#include <api/font/api_font.h>
|
||||
|
||||
class FontApi : public api_font
|
||||
{
|
||||
public:
|
||||
FontApi();
|
||||
~FontApi();
|
||||
void font_textOut(ifc_canvas *c, int style, int x, int y, int w, int h, const wchar_t *txt);
|
||||
int font_getInfo(ifc_canvas *c, const wchar_t *font, int infoid, const wchar_t *txt, int *w, int *h);
|
||||
|
||||
protected:
|
||||
RECVS_DISPATCH;
|
||||
};
|
||||
|
||||
extern api_font *fontApi;
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue