Leaked source code of windows server 2003
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.
 
 
 
 
 
 

43 lines
1.1 KiB

/****************************** Module Header ******************************\
* Module Name: wndstuff.h
*
* Kent's Window Test. To be used as a program template.
*
* Created: 09-May-91
* Author: KentD
*
* Copyright (c) 1991 Microsoft Corporation
\***************************************************************************/
#define DONTUSE(x) (x)
#include "resource.h"
enum PtFlag {
PtNoFlag = 0,
PtBezierFlag = 1,
PtOutlineBeforeFlag = 2,
PtOutlineAfterFlag = 4,
PtDashPatternFlag = 8,
PtHatchBrushFlag = 16,
PtTextureFillFlag = 32,
PtTransSolidFillFlag = 64,
PtTransGradFillFlag = 128,
PTBackgroundGradFillFlag = 256,
};
void DrawPath(HWND hwnd, HDC *phdc, HANDLE *hprinter, float flatness, PtFlag flags);
void AddPoint(INT x, INT y);
void OpenPath(char *filename);
void SavePath(char *filename);
void ChangeTexture(const WCHAR *filename);
void SetColorMode(INT colorMode);
void ClosePath();
void ClearPath();
void ClipPath(BOOL bezmode);
void ClearClipPath();
void Resize(INT x, INT y);
void CleanUp();
void Print(HWND hwnd, float flatness, PtFlag flags);