-
Notifications
You must be signed in to change notification settings - Fork 1
/
UTFThaiRules.h
executable file
·40 lines (30 loc) · 1.15 KB
/
UTFThaiRules.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
Copyright (C) shenzhen sowell technology CO.,LTD
*/
/* This is a copy of UTF Tool source code and you should have a copy
** of sowell license to permit use this program.
**
** This source code can create UI enviroment and manage message of
** each window, you can easy to draw window face and process message
** with it,
**
** This code realsed to dareglobal CO.,LTD shanghai
*/
#ifndef __UTF_THAI_RULES_H__
#define __UTF_THAI_RULES_H__
#include "UTFTypeDef.h"
#include "UTFPalette.h"
#include "UTFFont.h"
#ifdef __cplusplus
extern "C" {
#endif
/*************************************************************************/
WORD THAITextPreDone(LPTEXT pTextSrc, LPTEXT pTextBuffer, WORD bufferSize, LPUTFLOGFONT lpFont);
WORD THAITextWidth(LPTEXT pText, int charInterval, LPUTFLOGFONT lpFont);
void THAITextFunc(LPTEXT pText, WORD left, WORD top, WORD width, WORD height, WORD charInterval, UTFCOLOR textColor, LPUTFLOGFONT lpFont);
/*************************************************************************/
/*************************************************************************/
#ifdef __cplusplus
}
#endif
#endif