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

Defined in "wingdi.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/gdi32/palette.c".

Debug channel "palette".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout