com.moesol.bindings.platform_sdk.windows_api
Class HFONT

java.lang.Object
  extended by com.moesol.bindings.platform_sdk.windows_api.HANDLE
      extended by com.moesol.bindings.platform_sdk.windows_api.HGDIOBJ
          extended by com.moesol.bindings.platform_sdk.windows_api.HFONT

public class HFONT
extends HGDIOBJ

Holds a Win32 HFONT.


Field Summary
static byte ANSI_CHARSET
           
static byte DEFAULT_CHARSET
           
static byte OEM_CHARSET
           
static byte SYMBOL_CHARSET
           
 
Method Summary
static HFONT createFontIndirect(LOGFONT logfont)
          Create a font using CreateFontIndirect.
 
Methods inherited from class com.moesol.bindings.platform_sdk.windows_api.HGDIOBJ
deleteObject
 
Methods inherited from class com.moesol.bindings.platform_sdk.windows_api.HANDLE
_getHandle, _safeGetHandle, detach, equals, getLeakCount, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANSI_CHARSET

public static final byte ANSI_CHARSET
See Also:
Constant Field Values

DEFAULT_CHARSET

public static final byte DEFAULT_CHARSET
See Also:
Constant Field Values

SYMBOL_CHARSET

public static final byte SYMBOL_CHARSET
See Also:
Constant Field Values

OEM_CHARSET

public static final byte OEM_CHARSET
See Also:
Constant Field Values
Method Detail

createFontIndirect

public static HFONT createFontIndirect(LOGFONT logfont)
Create a font using CreateFontIndirect.

Parameters:
logfont -
Returns:
the HFONT that was created.


Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.