ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

ftfd.h
Go to the documentation of this file.
00001 /*
00002  * PROJECT:         ReactOS win32 subsystem
00003  * LICENSE:         GPL - See COPYING in the top level directory
00004  * PURPOSE:         GDI font driver for bitmap fonts
00005  * PROGRAMMER:      Timo Kreuzer (timo.kreuzer@reactos.org)
00006  */
00007 
00008 #include <stdarg.h>
00009 #include <windef.h>
00010 #include <wingdi.h>
00011 #include <winddi.h>
00012 
00013 #include <ft2build.h>
00014 #include FT_FREETYPE_H 
00015 
00016 extern FT_Library gftlibrary;
00017 
00018 #define TAG_GLYPHSET 'GlSt'
00019 #define TAG_IFIMETRICS 'Ifim'
00020 
00023 typedef struct
00024 {
00025     FT_UInt index;
00026     FT_ULong code;
00027 } FTFD_CHARPAIR;
00028 
00029 typedef struct
00030 {
00031     PVOID pvView;
00032     ULONG cjView;
00033     ULONG_PTR iFile;
00034     ULONG cNumFaces;
00035     FT_Face aftface[1];
00036 } FTFD_FILE, *PFTFD_FILE;
00037 
00038 //"Bold Italic Underline Strikeout"
00039 #define MAX_STYLESIZE 35
00040 typedef struct
00041 {
00042     IFIMETRICS ifim;
00043     BYTE ajCharSet[16];
00044     FONTSIM fontsim;
00045     WCHAR wszFamilyName[LF_FACESIZE];
00046     WCHAR wszFaceName[LF_FACESIZE];
00047     WCHAR wszStyleName[MAX_STYLESIZE];
00048 } FTFD_IFIMETRICS, *PFTFD_IFIMETRICS;
00049 
00052 ULONG
00053 DbgPrint(IN PCCH Format, IN ...);
00054 
00055 DHPDEV
00056 APIENTRY
00057 FtfdEnablePDEV(
00058     IN DEVMODEW *pdm,
00059     IN LPWSTR pwszLogAddress,
00060     IN ULONG cPat,
00061     OUT HSURF *phsurfPatterns,
00062     IN ULONG cjCaps,
00063     OUT ULONG *pdevcaps,
00064     IN ULONG cjDevInfo,
00065     OUT DEVINFO *pdi,
00066     IN HDEV hdev,
00067     IN LPWSTR pwszDeviceName,
00068     IN HANDLE hDriver);
00069 
00070 VOID
00071 APIENTRY
00072 FtfdCompletePDEV(
00073     IN DHPDEV dhpdev,
00074     IN HDEV hdev);
00075 
00076 VOID
00077 APIENTRY
00078 FtfdDisablePDEV(
00079     IN DHPDEV dhpdev);
00080 
00081 ULONG_PTR
00082 APIENTRY
00083 FtfdLoadFontFile(
00084     ULONG cFiles,
00085     ULONG_PTR *piFile,
00086     PVOID *ppvView,
00087     ULONG *pcjView,
00088     DESIGNVECTOR *pdv,
00089     ULONG ulLangID,
00090     ULONG ulFastCheckSum);
00091 
00092 BOOL
00093 APIENTRY
00094 FtfdUnloadFontFile(
00095     IN ULONG_PTR iFile);
00096 
00097 LONG
00098 APIENTRY
00099 FtfdQueryFontFile(
00100     ULONG_PTR iFile,
00101     ULONG ulMode,
00102     ULONG cjBuf,
00103     ULONG *pulBuf);
00104 
00105 LONG
00106 APIENTRY
00107 FtfdQueryFontCaps(
00108     ULONG culCaps,
00109     ULONG *pulCaps);
00110 
00111 PVOID
00112 APIENTRY
00113 FtfdQueryFontTree(
00114     DHPDEV dhpdev,
00115     ULONG_PTR iFile,
00116     ULONG iFace,
00117     ULONG iMode,
00118     ULONG_PTR *pid);
00119 
00120 PIFIMETRICS
00121 APIENTRY
00122 FtfdQueryFont(
00123     IN DHPDEV dhpdev,
00124     IN ULONG_PTR iFile,
00125     IN ULONG iFace,
00126     IN ULONG_PTR *pid);
00127 
00128 VOID
00129 APIENTRY
00130 FtfdFree(
00131     PVOID pv,
00132     ULONG_PTR id);
00133 
00134 PFD_GLYPHATTR
00135 APIENTRY
00136 FtfdQueryGlyphAttrs(
00137     FONTOBJ *pfo,
00138     ULONG iMode);
00139 
00140 LONG
00141 APIENTRY
00142 FtfdQueryFontData(
00143     DHPDEV dhpdev,
00144     FONTOBJ *pfo,
00145     ULONG iMode,
00146     HGLYPH hg,
00147     OUT GLYPHDATA *pgd,
00148     PVOID pv,
00149     ULONG cjSize);
00150 

Generated on Fri May 25 2012 04:36:26 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.