| Modifier and Type | Class and Description |
|---|---|
| public static class | GDI32.
Contains the function pointers loaded from the gdi32 |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | DISPLAY_DEVICE_ACTIVE
Child display device state flags. |
| public static final int | DISPLAY_DEVICE_ATTACHED
Child display device state flags. |
| public static final int | DISPLAY_DEVICE_ATTACHED_TO_DESKTOP
Display device state flags. |
| public static final int | DISPLAY_DEVICE_DISCONNECT
Display device state flags. |
| public static final int | DISPLAY_DEVICE_MIRRORING_DRIVER
Display device state flags. |
| public static final int | DISPLAY_DEVICE_MODESPRUNED
Display device state flags. |
| public static final int | DISPLAY_DEVICE_MULTI_DRIVER
Display device state flags. |
| public static final int | DISPLAY_DEVICE_PRIMARY_DEVICE
Display device state flags. |
| public static final int | DISPLAY_DEVICE_REMOTE
Display device state flags. |
| public static final int | DISPLAY_DEVICE_REMOVABLE
Display device state flags. |
| public static final int | DISPLAY_DEVICE_TS_COMPATIBLE
Display device state flags. |
| public static final int | DISPLAY_DEVICE_UNSAFE_MODES_ON
Display device state flags. |
| public static final int | DISPLAY_DEVICE_VGA_COMPATIBLE
Display device state flags. |
| public static final int | DM_BITSPERPEL
|
| public static final int | DM_COLLATE
|
| public static final int | |
| public static final int | |
| public static final int | DM_DEFAULTSOURCE
|
| public static final int | DM_DISPLAYFIXEDOUTPUT
|
| public static final int | DM_DISPLAYFLAGS
|
| public static final int | DM_DISPLAYFREQUENCY
|
| public static final int | DM_DISPLAYORIENTATION
|
| public static final int | DM_DITHERTYPE
|
| public static final int | |
| public static final int | DM_FORMNAME
|
| public static final int | DM_ICMINTENT
|
| public static final int | DM_ICMMETHOD
|
| public static final int | DM_INTERLACED
|
| public static final int | DM_LOGPIXELS
|
| public static final int | DM_MEDIATYPE
|
| public static final int | |
| public static final int | DM_ORIENTATION
|
| public static final int | DM_PANNINGHEIGHT
|
| public static final int | DM_PANNINGWIDTH
|
| public static final int | DM_PAPERLENGTH
|
| public static final int | DM_PAPERSIZE
|
| public static final int | DM_PAPERWIDTH
|
| public static final int | DM_PELSHEIGHT
|
| public static final int | DM_PELSWIDTH
|
| public static final int | DM_POSITION
|
| public static final int | DM_PRINTQUALITY
|
| public static final int | |
| public static final int | DM_SPECVERSION
|
| public static final int | DM_TTOPTION
|
| public static final int | DM_YRESOLUTION
|
| public static final int | DMDFO_CENTER
|
| public static final int | DMDFO_DEFAULT
|
| public static final int | DMDFO_STRETCH
|
| public static final int | DMDISPLAYFLAGS_TEXTMODE
|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | DMDO_DEFAULT
|
| private static final SharedLibrary | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final byte | PFD_MAIN_PLANE
|
| public static final int | |
| public static final int | |
| public static final byte | PFD_OVERLAY_PLANE
|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final byte | PFD_TYPE_COLORINDEX
|
| public static final byte | PFD_TYPE_RGBA
|
| public static final byte | PFD_UNDERLAY_PLANE
|
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | ChoosePixelFormat(long
the device context that the function examines to determine the best match for the pixel format descriptor pointed to by hdc, PIXELFORMATDESCRIPTOR pixelFormatDescriptora pixelFormatDescriptor)PIXELFORMATDESCRIPTOR structure that specifies the requested pixel formatAttempts to match an appropriate pixel format supported by a device context to a given pixel format specification. |
| public static int | DescribePixelFormat(long
the device context hdc, int index that specifies the pixel format. The pixel formats that a device context supports are identified by positive one-based integer indexes. pixelFormat, int the size, in bytes, of the structure pointed to by bytes, PIXELFORMATDESCRIPTOR pixelFormatDescriptor. The wglDescribePixelFormat function stores no more than
bytes bytes of data to that structure. Set this value to PIXELFORMATDESCRIPTOR#SIZEOF.a pixelFormatDescriptor)PIXELFORMATDESCRIPTOR structure whose members the function sets with pixel format data. The function stores the number of bytes copied to
the structure in the structure's size member. If, upon entry, pixelFormatDescriptor is NULL, the function writes no data to the
structure. This is useful when you only want to obtain the maximum pixel format index of a device context.Obtains information about the pixel format identified by pixelFormat of the device associated with dc. |
| public static int | DescribePixelFormat(long
the device context hdc, int index that specifies the pixel format. The pixel formats that a device context supports are identified by positive one-based integer indexes. pixelFormat, PIXELFORMATDESCRIPTOR a pixelFormatDescriptor)PIXELFORMATDESCRIPTOR structure whose members the function sets with pixel format data. The function stores the number of bytes copied to
the structure in the structure's size member. If, upon entry, pixelFormatDescriptor is NULL, the function writes no data to the
structure. This is useful when you only want to obtain the maximum pixel format index of a device context.Obtains information about the pixel format identified by pixelFormat of the device associated with dc. |
| public static SharedLibrary | |
| public static int | GetPixelFormat(long
the device context of the currently selected pixel format index returned by the function hdc)Obtains the index of the currently selected pixel format of the specified device context. |
| public static native int | nChoosePixelFormat(long hdc, long pixelFormatDescriptor, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | nDescribePixelFormat(long hdc, int pixelFormat, int bytes, long pixelFormatDescriptor, long __functionAddress)
Unsafe version of: |
| public static int | nDescribePixelFormat(long hdc, int pixelFormat, int bytes, long pixelFormatDescriptor)
Unsafe version of: |
| public static native int | |
| public static native int | nSetPixelFormat(long hdc, int pixelFormat, long pixelFormatDescriptor, long __functionAddress)
Unsafe version of: |
| public static int | nSetPixelFormat(long hdc, int pixelFormat, long pixelFormatDescriptor)
Unsafe version of: |
| public static native int | |
| public static boolean | SetPixelFormat(long
the device context whose pixel format the function attempts to set hdc, int index that identifies the pixel format to set. The various pixel formats supported by a device context are identified by one-based indexes. pixelFormat, PIXELFORMATDESCRIPTOR a pixelFormatDescriptor)PIXELFORMATDESCRIPTOR structure that contains the logical pixel format specification. The system's metafile component uses this structure
to record the logical pixel format specification. The structure has no other effect upon the behavior of the SetPixelFormat function.Sets the pixel format of the specified device context to the format specified by the pixelFormat index. |
| public static boolean | SwapBuffers(long
a device context. If the current pixel format for the window referenced by this device context includes a back buffer, the function exchanges the
front and back buffers. dc)Exchanges the front and back buffers if the current pixel format for the window referenced by the specified device context includes a back buffer. |
| DISPLAY_DEVICE_ACTIVE | back to summary |
|---|---|
| public static final int DISPLAY_DEVICE_ACTIVE Child display device state flags. | |
| DISPLAY_DEVICE_ATTACHED | back to summary |
|---|---|
| public static final int DISPLAY_DEVICE_ATTACHED Child display device state flags. | |
| DISPLAY_DEVICE_ATTACHED_TO_DESKTOP | back to summary |
|---|---|
| public static final int DISPLAY_DEVICE_ATTACHED_TO_DESKTOP Display device state flags. | |
| DISPLAY_DEVICE_DISCONNECT | back to summary |
|---|---|
| public static final int DISPLAY_DEVICE_DISCONNECT Display device state flags. | |
| DISPLAY_DEVICE_MIRRORING_DRIVER | back to summary |
|---|---|
| public static final int DISPLAY_DEVICE_MIRRORING_DRIVER Display device state flags. | |
| DISPLAY_DEVICE_MODESPRUNED | back to summary |
|---|---|
| public static final int DISPLAY_DEVICE_MODESPRUNED Display device state flags. | |
| DISPLAY_DEVICE_MULTI_DRIVER | back to summary |
|---|---|
| public static final int DISPLAY_DEVICE_MULTI_DRIVER Display device state flags. | |
| DISPLAY_DEVICE_PRIMARY_DEVICE | back to summary |
|---|---|
| public static final int DISPLAY_DEVICE_PRIMARY_DEVICE Display device state flags. | |
| DISPLAY_DEVICE_REMOTE | back to summary |
|---|---|
| public static final int DISPLAY_DEVICE_REMOTE Display device state flags. | |
| DISPLAY_DEVICE_REMOVABLE | back to summary |
|---|---|
| public static final int DISPLAY_DEVICE_REMOVABLE Display device state flags. | |
| DISPLAY_DEVICE_TS_COMPATIBLE | back to summary |
|---|---|
| public static final int DISPLAY_DEVICE_TS_COMPATIBLE Display device state flags. | |
| DISPLAY_DEVICE_UNSAFE_MODES_ON | back to summary |
|---|---|
| public static final int DISPLAY_DEVICE_UNSAFE_MODES_ON Display device state flags. | |
| DISPLAY_DEVICE_VGA_COMPATIBLE | back to summary |
|---|---|
| public static final int DISPLAY_DEVICE_VGA_COMPATIBLE Display device state flags. | |
| DM_BITSPERPEL | back to summary |
|---|---|
| public static final int DM_BITSPERPEL
| |
| DM_COLLATE | back to summary |
|---|---|
| public static final int DM_COLLATE
| |
| DM_COLOR | back to summary |
|---|---|
| public static final int DM_COLOR
| |
| DM_COPIES | back to summary |
|---|---|
| public static final int DM_COPIES
| |
| DM_DEFAULTSOURCE | back to summary |
|---|---|
| public static final int DM_DEFAULTSOURCE
| |
| DM_DISPLAYFIXEDOUTPUT | back to summary |
|---|---|
| public static final int DM_DISPLAYFIXEDOUTPUT
| |
| DM_DISPLAYFLAGS | back to summary |
|---|---|
| public static final int DM_DISPLAYFLAGS
| |
| DM_DISPLAYFREQUENCY | back to summary |
|---|---|
| public static final int DM_DISPLAYFREQUENCY
| |
| DM_DISPLAYORIENTATION | back to summary |
|---|---|
| public static final int DM_DISPLAYORIENTATION
| |
| DM_DITHERTYPE | back to summary |
|---|---|
| public static final int DM_DITHERTYPE
| |
| DM_DUPLEX | back to summary |
|---|---|
| public static final int DM_DUPLEX
| |
| DM_FORMNAME | back to summary |
|---|---|
| public static final int DM_FORMNAME
| |
| DM_ICMINTENT | back to summary |
|---|---|
| public static final int DM_ICMINTENT
| |
| DM_ICMMETHOD | back to summary |
|---|---|
| public static final int DM_ICMMETHOD
| |
| DM_INTERLACED | back to summary |
|---|---|
| public static final int DM_INTERLACED
| |
| DM_LOGPIXELS | back to summary |
|---|---|
| public static final int DM_LOGPIXELS
| |
| DM_MEDIATYPE | back to summary |
|---|---|
| public static final int DM_MEDIATYPE
| |
| DM_NUP | back to summary |
|---|---|
| public static final int DM_NUP
| |
| DM_ORIENTATION | back to summary |
|---|---|
| public static final int DM_ORIENTATION
| |
| DM_PANNINGHEIGHT | back to summary |
|---|---|
| public static final int DM_PANNINGHEIGHT
| |
| DM_PANNINGWIDTH | back to summary |
|---|---|
| public static final int DM_PANNINGWIDTH
| |
| DM_PAPERLENGTH | back to summary |
|---|---|
| public static final int DM_PAPERLENGTH
| |
| DM_PAPERSIZE | back to summary |
|---|---|
| public static final int DM_PAPERSIZE
| |
| DM_PAPERWIDTH | back to summary |
|---|---|
| public static final int DM_PAPERWIDTH
| |
| DM_PELSHEIGHT | back to summary |
|---|---|
| public static final int DM_PELSHEIGHT
| |
| DM_PELSWIDTH | back to summary |
|---|---|
| public static final int DM_PELSWIDTH
| |
| DM_POSITION | back to summary |
|---|---|
| public static final int DM_POSITION
| |
| DM_PRINTQUALITY | back to summary |
|---|---|
| public static final int DM_PRINTQUALITY
| |
| DM_SCALE | back to summary |
|---|---|
| public static final int DM_SCALE
| |
| DM_SPECVERSION | back to summary |
|---|---|
| public static final int DM_SPECVERSION
| |
| DM_TTOPTION | back to summary |
|---|---|
| public static final int DM_TTOPTION
| |
| DM_YRESOLUTION | back to summary |
|---|---|
| public static final int DM_YRESOLUTION
| |
| DMDFO_CENTER | back to summary |
|---|---|
| public static final int DMDFO_CENTER
| |
| DMDFO_DEFAULT | back to summary |
|---|---|
| public static final int DMDFO_DEFAULT
| |
| DMDFO_STRETCH | back to summary |
|---|---|
| public static final int DMDFO_STRETCH
| |
| DMDISPLAYFLAGS_TEXTMODE | back to summary |
|---|---|
| public static final int DMDISPLAYFLAGS_TEXTMODE
| |
| DMDO_180 | back to summary |
|---|---|
| public static final int DMDO_180
| |
| DMDO_270 | back to summary |
|---|---|
| public static final int DMDO_270
| |
| DMDO_90 | back to summary |
|---|---|
| public static final int DMDO_90
| |
| DMDO_DEFAULT | back to summary |
|---|---|
| public static final int DMDO_DEFAULT
| |
| GDI32 | back to summary |
|---|---|
| private static final SharedLibrary GDI32 | |
| PFD_DEPTH_DONTCARE | back to summary |
|---|---|
| public static final int PFD_DEPTH_DONTCARE
| |
| PFD_DIRECT3D_ACCELERATED | back to summary |
|---|---|
| public static final int PFD_DIRECT3D_ACCELERATED
| |
| PFD_DOUBLEBUFFER | back to summary |
|---|---|
| public static final int PFD_DOUBLEBUFFER
| |
| PFD_DOUBLEBUFFER_DONTCARE | back to summary |
|---|---|
| public static final int PFD_DOUBLEBUFFER_DONTCARE
| |
| PFD_DRAW_TO_BITMAP | back to summary |
|---|---|
| public static final int PFD_DRAW_TO_BITMAP
| |
| PFD_DRAW_TO_WINDOW | back to summary |
|---|---|
| public static final int PFD_DRAW_TO_WINDOW
| |
| PFD_GENERIC_ACCELERATED | back to summary |
|---|---|
| public static final int PFD_GENERIC_ACCELERATED
| |
| PFD_GENERIC_FORMAT | back to summary |
|---|---|
| public static final int PFD_GENERIC_FORMAT
| |
| PFD_MAIN_PLANE | back to summary |
|---|---|
| public static final byte PFD_MAIN_PLANE
| |
| PFD_NEED_PALETTE | back to summary |
|---|---|
| public static final int PFD_NEED_PALETTE
| |
| PFD_NEED_SYSTEM_PALETTE | back to summary |
|---|---|
| public static final int PFD_NEED_SYSTEM_PALETTE
| |
| PFD_OVERLAY_PLANE | back to summary |
|---|---|
| public static final byte PFD_OVERLAY_PLANE
| |
| PFD_STEREO | back to summary |
|---|---|
| public static final int PFD_STEREO
| |
| PFD_STEREO_DONTCARE | back to summary |
|---|---|
| public static final int PFD_STEREO_DONTCARE
| |
| PFD_SUPPORT_COMPOSITION | back to summary |
|---|---|
| public static final int PFD_SUPPORT_COMPOSITION
| |
| PFD_SUPPORT_DIRECTDRAW | back to summary |
|---|---|
| public static final int PFD_SUPPORT_DIRECTDRAW
| |
| PFD_SUPPORT_GDI | back to summary |
|---|---|
| public static final int PFD_SUPPORT_GDI
| |
| PFD_SUPPORT_OPENGL | back to summary |
|---|---|
| public static final int PFD_SUPPORT_OPENGL
| |
| PFD_SWAP_COPY | back to summary |
|---|---|
| public static final int PFD_SWAP_COPY
| |
| PFD_SWAP_EXCHANGE | back to summary |
|---|---|
| public static final int PFD_SWAP_EXCHANGE
| |
| PFD_SWAP_LAYER_BUFFERS | back to summary |
|---|---|
| public static final int PFD_SWAP_LAYER_BUFFERS
| |
| PFD_TYPE_COLORINDEX | back to summary |
|---|---|
| public static final byte PFD_TYPE_COLORINDEX
| |
| PFD_TYPE_RGBA | back to summary |
|---|---|
| public static final byte PFD_TYPE_RGBA
| |
| PFD_UNDERLAY_PLANE | back to summary |
|---|---|
| public static final byte PFD_UNDERLAY_PLANE
| |
| GDI32 | back to summary |
|---|---|
| protected GDI32() | |
| ChoosePixelFormat | back to summary |
|---|---|
| public static int ChoosePixelFormat(long hdc, PIXELFORMATDESCRIPTOR pixelFormatDescriptor) Attempts to match an appropriate pixel format supported by a device context to a given pixel format specification.
| |
| DescribePixelFormat | back to summary |
|---|---|
| public static int DescribePixelFormat(long hdc, int pixelFormat, int bytes, PIXELFORMATDESCRIPTOR pixelFormatDescriptor) Obtains information about the pixel format identified by pixelFormat of the device associated with dc. The function sets the members of the
| |
| DescribePixelFormat | back to summary |
|---|---|
| public static int DescribePixelFormat(long hdc, int pixelFormat, PIXELFORMATDESCRIPTOR pixelFormatDescriptor) Obtains information about the pixel format identified by pixelFormat of the device associated with dc. The function sets the members of the
| |
| getLibrary | back to summary |
|---|---|
| public static SharedLibrary getLibrary() Returns the gdi32 | |
| GetPixelFormat | back to summary |
|---|---|
| public static int GetPixelFormat(long hdc) Obtains the index of the currently selected pixel format of the specified device context.
| |
| nChoosePixelFormat | back to summary |
|---|---|
| public static native int nChoosePixelFormat(long hdc, long pixelFormatDescriptor, long __functionAddress) Unsafe version of: | |
| nChoosePixelFormat | back to summary |
|---|---|
| public static int nChoosePixelFormat(long hdc, long pixelFormatDescriptor) Unsafe version of: | |
| nDescribePixelFormat | back to summary |
|---|---|
| public static native int nDescribePixelFormat(long hdc, int pixelFormat, int bytes, long pixelFormatDescriptor, long __functionAddress) Unsafe version of: | |
| nDescribePixelFormat | back to summary |
|---|---|
| public static int nDescribePixelFormat(long hdc, int pixelFormat, int bytes, long pixelFormatDescriptor) Unsafe version of: | |
| nGetPixelFormat | back to summary |
|---|---|
| public static native int nGetPixelFormat(long hdc, long __functionAddress) Unsafe version of: | |
| nSetPixelFormat | back to summary |
|---|---|
| public static native int nSetPixelFormat(long hdc, int pixelFormat, long pixelFormatDescriptor, long __functionAddress) Unsafe version of: | |
| nSetPixelFormat | back to summary |
|---|---|
| public static int nSetPixelFormat(long hdc, int pixelFormat, long pixelFormatDescriptor) Unsafe version of: | |
| nSwapBuffers | back to summary |
|---|---|
| public static native int nSwapBuffers(long dc, long __functionAddress) Unsafe version of: | |
| SetPixelFormat | back to summary |
|---|---|
| public static boolean SetPixelFormat(long hdc, int pixelFormat, PIXELFORMATDESCRIPTOR pixelFormatDescriptor) Sets the pixel format of the specified device context to the format specified by the pixelFormat index.
| |
| SwapBuffers | back to summary |
|---|---|
| public static boolean SwapBuffers(long dc) Exchanges the front and back buffers if the current pixel format for the window referenced by the specified device context includes a back buffer.
| |
SharedLibrary.
| Modifier and Type | Field and Description |
|---|---|
| public static final long | ChoosePixelFormat
Function address. |
| public static final long | DescribePixelFormat
Function address. |
| public static final long | GetPixelFormat
Function address. |
| public static final long | SetPixelFormat
Function address. |
| public static final long | SwapBuffers
Function address. |
| Access | Constructor and Description |
|---|---|
| private |
| ChoosePixelFormat | back to summary |
|---|---|
| public static final long ChoosePixelFormat Function address. | |
| DescribePixelFormat | back to summary |
|---|---|
| public static final long DescribePixelFormat Function address. | |
| GetPixelFormat | back to summary |
|---|---|
| public static final long GetPixelFormat Function address. | |
| SetPixelFormat | back to summary |
|---|---|
| public static final long SetPixelFormat Function address. | |
| SwapBuffers | back to summary |
|---|---|
| public static final long SwapBuffers Function address. | |
| Functions | back to summary |
|---|---|
| private Functions() | |