Scroll to navigation

CreateHalftonePalette(3w) Wine API CreateHalftonePalette(3w)

NAME

CreateHalftonePalette (GDI32.@)

SYNOPSIS

HPALETTE CreateHalftonePalette
(
HDC hdc
)
 

PARAMS

hdc [In] Handle to device context.
 

DESCRIPTION

Creates a halftone palette.
 

RETURNS

Success: Handle to logical halftone palette
Failure: 0.
FIXME: This simply creates the halftone palette derived from running tests on a Windows(tm) NT machine. This is assuming a color depth of greater that 256 color. On a 256 color device the halftone palette will be different and this function will be incorrect
 

IMPLEMENTATION

Declared in "gdiplusflat.h".
Implemented in "dlls/gdi32/palette.c".
Debug channel "palette".
Oct 2012 Wine API