wxArt2D
mswfont.h
Go to the documentation of this file.
1 /*! \file wx/artbase/mswfont.h
2  \author Philip Patrick, Hans Dietrich
3 
4  Copyright: 2000-2004 (c) Klaas Holwerda
5 
6  Licence: wxWidgets Licence
7 
8  RCS-ID: $Id: mswfont.h,v 1.3 2008/04/11 13:39:51 titato Exp $
9 */
10 
11 // XFont.h Version 1.1
12 //
13 // Copyright (C) 2003 Hans Dietrich
14 //
15 // This software is released into the public domain.
16 // You are free to use it in any way you like.
17 //
18 // This software is provided "as is" with no expressed
19 // or implied warranty. I accept no liability for any
20 // damage or loss of business that this software may cause.
21 //
22 ///////////////////////////////////////////////////////////////////////////////
23 
24 #ifndef XFONT_H
25 #define XFONT_H
26 
27 //! MSW specific font properties
28 typedef struct _tagFONT_PROPERTIES
29 {
30  TCHAR csName[1024];
31  TCHAR csCopyright[1024];
32  TCHAR csTrademark[1024];
33  TCHAR csFamily[1024];
34 }
36 
37 
38 //! find a font that is close to a wxDC font.
39 BOOL GetFontFile( LPCTSTR lpszFontName,
40  LPTSTR lpszDisplayName,
41  int nDisplayNameSize,
42  LPTSTR lpszFontFile,
43  int nFontFileSize );
44 
45 //! get font name from the file
46 BOOL GetFontProperties( LPCTSTR lpszFilePath,
47  LPFONT_PROPERTIES lpFontProps );
48 
49 #endif //XFONT_H
struct _tagFONT_PROPERTIES FONT_PROPERTIES
MSW specific font properties.
BOOL GetFontProperties(LPCTSTR lpszFilePath, LPFONT_PROPERTIES lpFontProps)
get font name from the file
BOOL GetFontFile(LPCTSTR lpszFontName, LPTSTR lpszDisplayName, int nDisplayNameSize, LPTSTR lpszFontFile, int nFontFileSize)
find a font that is close to a wxDC font.
MSW specific font properties.
Definition: mswfont.h:28
mswfont.h Source File -- Sun Oct 12 2014 17:04:22 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation