mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
814 B
69 lines
814 B
|
|
/*++
|
|
|
|
Copyright (c) 1996 Microsoft Corporation
|
|
|
|
Module Name
|
|
|
|
gradient.cxx
|
|
|
|
Abstract:
|
|
|
|
Implement gradient fill
|
|
|
|
Author:
|
|
|
|
Mark Enstrom (marke) 23-Jun-1996
|
|
|
|
Enviornment:
|
|
|
|
User Mode
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
|
|
#include "precomp.hxx"
|
|
#pragma hdrstop
|
|
|
|
BOOL
|
|
GdxGradientFill(
|
|
HDC hdc,
|
|
PPOINT pPoints,
|
|
COLORREF *pColors,
|
|
ULONG nCount,
|
|
ULONG ulMode
|
|
)
|
|
{
|
|
BOOL bRet = FALSE;
|
|
|
|
FIXUP_HANDLE(hdc);
|
|
|
|
//
|
|
// metafile
|
|
//
|
|
|
|
|
|
//
|
|
// emultation
|
|
//
|
|
|
|
//
|
|
// Direct Drawing
|
|
//
|
|
|
|
#if 0
|
|
|
|
bRet = NtGdiGradientFill(
|
|
hdc,
|
|
pPoints,
|
|
pColors,
|
|
nCount,
|
|
ulMode
|
|
);
|
|
#endif
|
|
|
|
return(bRet);
|
|
}
|
|
|