Back to index

tetex-bin  3.0
Go to the documentation of this file.
00001 /*--------------------------------------------------------------------------
00002   ----- File:        t1win32.h
00003   ----- Author:      Rainer Menzner (
00004   ----- Date:        08/20/1998
00005   ----- Description: This file is part of the t1-library. It contains
00006                      definitions and declarations for t1x11.c.
00007   ----- Copyright:   t1lib is copyrighted (c) Rainer Menzner, 1996-1998. 
00008                      As of version 0.5, t1lib is distributed under the
00009                    GNU General Public Library Lincense. The
00010                    conditions can be found in the files LICENSE and
00011                    LGPL, which should reside in the toplevel
00012                    directory of the distribution.  Please note that 
00013                    there are parts of t1lib that are subject to
00014                    other licenses:
00015                    The parseAFM-package is copyrighted by Adobe Systems
00016                    Inc.
00017                    The type1 rasterizer is copyrighted by IBM and the
00018                    X11-consortium.
00019   ----- Warranties:  Of course, there's NO WARRANTY OF ANY KIND :-)
00020   ----- Credits:     I want to thank IBM and the X11-consortium for making
00021                      their rasterizer freely available.
00022                    Also thanks to Piet Tutelaers for his ps2pk, from
00023                    which I took the rasterizer sources in a format
00024                    independent from X11.
00025                      Thanks to all people who make free software living!
00026 --------------------------------------------------------------------------*/
00028 #include <windows.h>
00030 int T1_SetWin32Params(HDC hDc);
00031 GLYPH *T1_SetCharX( HDC hDc, int mode, int x, int y,
00032                   int FontID, char charcode,
00033                   float size, T1_TMATRIX *transform);
00034 GLYPH *T1_SetStringX( HDC hDc, int mode, int x, int y,
00035                     int FontID, char *string, int len,
00036                     long spaceoff, int modflag,
00037                     float size, T1_TMATRIX *transform);
00038 GLYPH *T1_AASetCharX( HDC hDc, int mode, int x, int y,
00039                     int FontID, char charcode,
00040                     float size, T1_TMATRIX *transform);
00041 GLYPH *T1_AASetStringX( HDC hDc, int mode, int x, int y,
00042                      int FontID, char *string, int len,
00043                      long spaceoff, int modflag,
00044                      float size, T1_TMATRIX *transform);
00045 int T1_ComputeAAColorsX( unsigned long fg,
00046                       unsigned long bg,
00047                       int nolevels);
00048 int T1_GetDepthOfDrawable( HDC hDc );
00049 void T1_LogicalPositionX( int pos_switch);