|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| gdi32.lib
| Header File
| wingdi.h
| Unicode
| No
| Platform Notes
| None
|
|
|
CreateHalftonePalette
The
CreateHalftonePalette function creates a halftone palette for the specified device context.
HPALETTE CreateHalftonePalette(
HDC hdc
| // handle to device context
|
);
|
|
Parameters
hdc
Identifies the device context.
Return Values
If the function succeeds, the return value identifies a logical halftone
palette.
If the function fails, the return value is zero. To get extended error
information, call
GetLastError.
Remarks
An application should create a halftone palette when the stretching mode of a
device context is set to HALFTONE. The logical halftone palette returned by
CreateHalftonePalette should then be selected and realized into the device context before the
StretchBlt or
StretchDIBits function is called.
When you no longer need the palette, call the
DeleteObject function to delete it.
See Also
DeleteObject,
RealizePalette,
SelectPalette,
SetStretchBltMode,
StretchDIBits,
StretchBlt
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database