WIL説明書(C++)  3.0.0
FvGdiFontW.h
[詳解]
1 // $Revision: 1.1 $
2 /*
3  @file FvGdiFontW.h
4  @brief Grafics device interface object class (font WIDECHAR)
5  @author FAST Corporation
6 */
7 
8 #ifndef _FVGDIFONTW_H_INCLUDED_
9 #define _FVGDIFONTW_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  CFvGdiFontW();
27  CFvGdiFontW( const CFvGdiFontW& src );
28  CFvGdiFontW( const LOGFONTW& src );
29  CFvGdiFontW( INT height, INT width, INT weight,
30  bool italic, bool underline, bool strikeout,
31  UINT charset, LPCWSTR facename );
32  CFvGdiFontW( HGDIOBJ hObject );
33  virtual ~CFvGdiFontW();
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( LPCWSTR facename );
50  LPCWSTR GetFaceName() const;
51 
52  // operator overload
53  virtual CFvGdiFontW& operator = ( const LOGFONTW& src );
54  virtual CFvGdiFontW& operator = ( const CFvGdiFontW& src );
55  virtual bool operator == ( const CFvGdiFontW& src ) const;
56  virtual bool operator != ( const CFvGdiFontW& src ) const;
57  virtual operator LOGFONTW() const;
58 };
59 
60 } // GDI
61 
62 } // FVCL
63 
64 #pragma pack(pop)
65 
66 #endif // _FVGDIFONTW_H_INCLUDED_
#define FVCL_API
DLLエクスポートマクロ
Definition: FvMacros.h:61
フォント構造体 (ワイド文字列)
Definition: _structure.h:72
GDIオブジェクト基本クラス
Definition: FvGdiObject.h:20
FVCLのネームスペース
Definition: EVCbasicDeclare.txt:9
int INT
整数型(32ビット)
Definition: FvDefs.h:36
struct tagLOGFONTW LOGFONTW
フォント構造体型 (ワイド文字列)
Definition: _structure.h:96
GDIフォント構造クラス(ワイド文字列)
Definition: FvGdiFontW.h:20
unsigned int UINT
整数型(32ビット)[符号なし]
Definition: FvDefs.h:37
const wchar_t * LPCWSTR
ワイド文字列型(const付き)
Definition: FvDefs.h:47
GDIオブジェクト基本クラスのインターフェース

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