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
|
/*--------------------------------------------------------------------------
----- File: t1win32.h
----- Author: Rainer Menzner (rmz@neuroinformatik.ruhr-uni-bochum.de)
----- Date: 08/20/1998
----- Description: This file is part of the t1-library. It contains
definitions and declarations for t1x11.c.
----- Copyright: t1lib is copyrighted (c) Rainer Menzner, 1996-1998.
As of version 0.5, t1lib is distributed under the
GNU General Public Library Lincense. The
conditions can be found in the files LICENSE and
LGPL, which should reside in the toplevel
directory of the distribution. Please note that
there are parts of t1lib that are subject to
other licenses:
The parseAFM-package is copyrighted by Adobe Systems
Inc.
The type1 rasterizer is copyrighted by IBM and the
X11-consortium.
----- Warranties: Of course, there's NO WARRANTY OF ANY KIND :-)
----- Credits: I want to thank IBM and the X11-consortium for making
their rasterizer freely available.
Also thanks to Piet Tutelaers for his ps2pk, from
which I took the rasterizer sources in a format
independent from X11.
Thanks to all people who make free software living!
--------------------------------------------------------------------------*/
#include <windows.h>
int T1_SetWin32Params(HDC hDc);
GLYPH *T1_SetCharX( HDC hDc, int mode, int x, int y,
int FontID, char charcode,
float size, T1_TMATRIX *transform);
GLYPH *T1_SetStringX( HDC hDc, int mode, int x, int y,
int FontID, char *string, int len,
long spaceoff, int modflag,
float size, T1_TMATRIX *transform);
GLYPH *T1_AASetCharX( HDC hDc, int mode, int x, int y,
int FontID, char charcode,
float size, T1_TMATRIX *transform);
GLYPH *T1_AASetStringX( HDC hDc, int mode, int x, int y,
int FontID, char *string, int len,
long spaceoff, int modflag,
float size, T1_TMATRIX *transform);
int T1_ComputeAAColorsX( unsigned long fg,
unsigned long bg,
int nolevels);
int T1_GetDepthOfDrawable( HDC hDc );
void T1_LogicalPositionX( int pos_switch);
|