-
Notifications
You must be signed in to change notification settings - Fork 0
/
VECTFONT.H
57 lines (51 loc) · 2.26 KB
/
VECTFONT.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*------------------------
VECTFONT.H header file
------------------------*/
#define ID_RESOURCE 1
#define IDM_NOTHING 0
#define IDM_24POINT 1
#define IDM_STRETCH 2
#define IDM_MIRROR 3
#define IDM_CHARANGLE 4
#define IDM_ROTATE 5
#define IDM_CHARSHEAR 6
#define IDM_SHADOW 7
#define IDM_HOLLOW 8
#define IDM_DROPSHADOW 9
#define IDM_BLOCK 10
#define IDM_NEON 11
#define IDM_FADE 12
#define IDM_SPOKES 13
#define IDM_WAVY 14
#define IDM_MODSPOKES 15
#define LCID_MYFONT 1L
#define ID_PATH 1L
#define PI 3.14159
LONG CreateVectorFont (HPS hps, LONG lcid, CHAR *szFacename) ; // VF00
BOOL ScaleVectorFont (HPS hps, SHORT xPointSize, SHORT yPointSize) ;
BOOL ScaleFontToBox (HPS hps, LONG cbText, PCH szText, LONG cxBox,
LONG cyBox) ;
VOID QueryStartPointInTextBox (HPS hps, LONG cbText, PCH szText,
POINTL *pptl) ;
VOID ColorClient (HPS hps, LONG cxClient, LONG cyClient, LONG lColor) ;
VOID Display_24Point (HPS hps, LONG cxClient, LONG cyClient) ; // VF01
VOID Display_Stretch (HPS hps, LONG cxClient, LONG cyClient) ; // VF02
VOID Display_Mirror (HPS hps, LONG cxClient, LONG cyClient) ; // VF03
VOID Display_CharAngle (HPS hps, LONG cxClient, LONG cyClient) ; // VF04
VOID Display_Rotate (HPS hps, LONG cxClient, LONG cyClient) ; // VF05
VOID Display_CharShear (HPS hps, LONG cxClient, LONG cyClient) ; // VF06
VOID Display_Shadow (HPS hps, LONG cxClient, LONG cyClient) ; // VF07
VOID Display_Hollow (HPS hps, LONG cxClient, LONG cyClient) ; // VF08
VOID Display_DropShadow (HPS hps, LONG cxClient, LONG cyClient) ;// VF09
VOID Display_Block (HPS hps, LONG cxClient, LONG cyClient) ; // VF10
VOID Display_Neon (HPS hps, LONG cxClient, LONG cyClient) ; // VF11
VOID Display_Fade (HPS hps, LONG cxClient, LONG cyClient) ; // VF12
VOID Display_Spokes (HPS hps, LONG cxClient, LONG cyClient) ; // VF13
VOID Display_Wavy (HPS hps, LONG cxClient, LONG cyClient) ; // VF14
VOID Display_ModSpokes (HPS hps, LONG cxClient, LONG cyClient) ; // VF15
#ifndef max
#define max(a,b) (((a) > (b)) ? (a) : (b))
#endif
#ifndef min
#define min(a,b) (((a) < (b)) ? (a) : (b))
#endif