com.jniwrapper.win32.gdi
Class Gdi32

java.lang.Object
  extended by com.jniwrapper.util.FunctionCache
      extended by com.jniwrapper.win32.WinFunctionCache
          extended by com.jniwrapper.win32.gdi.Gdi32

public class Gdi32
extends WinFunctionCache

This class provides a wrapper over Win32 GDI functions.


Constructor Summary
Gdi32()
           
 
Method Summary
static void enumFontFamilies()
           
static com.jniwrapper.Function get(java.lang.String functionName)
           
static Gdi32 getInstance()
           
static Handle getStockObject(int objectType)
          Use this method for getting actual instances of objects that correspond to stock object constants.
static void main(java.lang.String[] args)
           
 
Methods inherited from class com.jniwrapper.win32.WinFunctionCache
isUnicode, setUnicode, setupEncoding
 
Methods inherited from class com.jniwrapper.util.FunctionCache
getFunction, getVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gdi32

public Gdi32()
Method Detail

getInstance

public static Gdi32 getInstance()

getStockObject

public static Handle getStockObject(int objectType)
Use this method for getting actual instances of objects that correspond to stock object constants.

Parameters:
objectType - a stock object type defined by Windows API.
Returns:
handle to the stock object.

get

public static com.jniwrapper.Function get(java.lang.String functionName)

enumFontFamilies

public static void enumFontFamilies()

main

public static void main(java.lang.String[] args)