WIL説明書(C++)  3.0.0
FvGdiFontA.h
[詳解]
1 // $Revision: 1.1 $
2 /*
3  @file FvGdiFontA.h
4  @brief Grafics device interface object class (font ASCII)
5  @author FAST Corporation
6 */
7 
8 #ifndef _FVGDIFONTA_H_INCLUDED_
9 #define _FVGDIFONTA_H_INCLUDED_
10 
11 #include "FvGdiObject.h"
12 
13 #pragma pack(push,_FVCL_PACKING)
14 
15 namespace FVCL
16 {
17 namespace GDI
18 {
19 
21 {
22 private:
23  void _Constructor();
24 
25 public:
26  CFvGdiFontA();
27  CFvGdiFontA( const CFvGdiFontA& src );
28  CFvGdiFontA( const LOGFONTA& src );
29  CFvGdiFontA( INT height, INT width, INT weight,
30  bool italic, bool underline, bool strikeout,
31  UINT charset, LPCSTR facename );
32  CFvGdiFontA( HGDIOBJ hObject );
33  virtual ~CFvGdiFontA();
34 
35  virtual HGDIOBJ CreateObject() const;
36 
37  bool SetSize( INT height, INT width );
38  bool GetSize( INT* height, INT* width ) const;
39  bool SetWeight( INT weight );
40  INT GetWeight() const;
41  bool SetItalic( bool italic );
42  bool GetItalic() const;
43  bool SetUnderline( bool underline );
44  bool GetUnderline() const;
45  bool SetStrikeOut( bool strikeout );
46  bool GetStrikeOut() const;
47  bool SetCharset( UINT charset );
48  UINT GetCharset() const;
49  bool SetFaceName( LPCSTR facename );
50  LPCSTR GetFaceName() const;
51 
52  // operator overload
53  virtual CFvGdiFontA& operator = ( const LOGFONTA& src );
54  virtual CFvGdiFontA& operator = ( const CFvGdiFontA& src );
55  virtual bool operator == ( const CFvGdiFontA& src ) const;
56  virtual bool operator != ( const CFvGdiFontA& src ) const;
57  virtual operator LOGFONTA() const;
58 };
59 
60 } // GDI
61 
62 } // FVCL
63 
64 #pragma pack(pop)
65 
66 #endif // _FVGDIFONTA_H_INCLUDED_
#define FVCL_API
DLLエクスポートマクロ
Definition: FvMacros.h:61
GDIオブジェクト基本クラス
Definition: FvGdiObject.h:20
FVCLのネームスペース
Definition: EVCbasicDeclare.txt:9
int INT
整数型(32ビット)
Definition: FvDefs.h:36
const char * LPCSTR
ASCII文字列型(const付き)
Definition: FvDefs.h:45
struct tagLOGFONTA LOGFONTA
フォント構造体型 (ASCII文字列)
Definition: _structure.h:64
フォント構造体 (ASCII文字列)
Definition: _structure.h:40
unsigned int UINT
整数型(32ビット)[符号なし]
Definition: FvDefs.h:37
GDIオブジェクト基本クラスのインターフェース
GDIフォント構造クラス(ASCII文字列)
Definition: FvGdiFontA.h:20

Documentation copyright © 2007 FAST Corporation. [B-001864]
Generated on 2023年11月02日(木) 10時12分53秒 for WIL説明書(C++) by doxygen 1.8.11