ReactOS 0.4.15-dev-7934-g1dc8d80
IFont Interface Reference
Inheritance diagram for IFont:
Collaboration diagram for IFont:

Public Types

typedef IFontLPFONT
 
typedef TEXTMETRICW TEXTMETRICOLE
 
typedef TEXTMETRICWLPTEXTMETRICOLE
 
- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Public Member Functions

HRESULT Clone ([out] IFont **ppfont)
 
HRESULT IsEqual ([in] IFont *pFontOther)
 
HRESULT SetRatio ([in] LONG cyLogical, [in] LONG cyHimetric)
 
HRESULT QueryTextMetrics ([out] TEXTMETRICOLE *ptm)
 
HRESULT AddRefHfont ([in] HFONT hfont)
 
HRESULT ReleaseHfont ([in] HFONT hfont)
 
HRESULT SetHdc ([in] HDC hdc)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Properties

BSTR Name [get, set]
 
CY Size [get, set]
 
BOOL Bold [get, set]
 
BOOL Italic [get, set]
 
BOOL Underline [get, set]
 
BOOL Strikethrough [get, set]
 
SHORT Weight [get, set]
 
SHORT Charset [get, set]
 
HFONT hFont [get]
 

Detailed Description

Definition at line 75 of file ocidl.idl.

Member Typedef Documentation

◆ LPFONT

typedef IFont* IFont::LPFONT

Definition at line 77 of file ocidl.idl.

◆ LPTEXTMETRICOLE

Definition at line 78 of file ocidl.idl.

◆ TEXTMETRICOLE

Definition at line 78 of file ocidl.idl.

Member Function Documentation

◆ AddRefHfont()

HRESULT IFont::AddRefHfont ( [in] HFONT  hfont)

◆ Clone()

HRESULT IFont::Clone ( [out] IFont **  ppfont)

◆ IsEqual()

HRESULT IFont::IsEqual ( [in] IFont pFontOther)

◆ QueryTextMetrics()

HRESULT IFont::QueryTextMetrics ( [out] TEXTMETRICOLE ptm)

◆ ReleaseHfont()

HRESULT IFont::ReleaseHfont ( [in] HFONT  hfont)

◆ SetHdc()

HRESULT IFont::SetHdc ( [in] HDC  hdc)

◆ SetRatio()

HRESULT IFont::SetRatio ( [in] LONG  cyLogical,
[in] LONG  cyHimetric 
)

Property Documentation

◆ Bold

BOOL IFont::Bold
getset

◆ Charset

SHORT IFont::Charset
getset

◆ hFont

HFONT IFont::hFont
get

◆ Italic

BOOL IFont::Italic
getset

◆ Name

BSTR IFont::Name
getset

◆ Size

CY IFont::Size
getset

◆ Strikethrough

BOOL IFont::Strikethrough
getset

◆ Underline

BOOL IFont::Underline
getset

◆ Weight

SHORT IFont::Weight
getset

The documentation for this interface was generated from the following file: