Merged font.h and path.h into gdi.h. Moved x11font.h to
dlls/x11drv. Removed a number of unnecessary #includes.
This commit is contained in:
parent
e30a96776a
commit
9169729b0b
|
@ -31,7 +31,6 @@
|
||||||
#include "wine/port.h"
|
#include "wine/port.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "gdi.h"
|
#include "gdi.h"
|
||||||
#include "font.h"
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "bitmap.h"
|
#include "bitmap.h"
|
||||||
#include "font.h"
|
|
||||||
#include "wownt32.h"
|
#include "wownt32.h"
|
||||||
#include "mfdrv/metafiledrv.h"
|
#include "mfdrv/metafiledrv.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
#include "win16drv/win16drv.h"
|
#include "win16drv/win16drv.h"
|
||||||
#include "gdi.h"
|
#include "gdi.h"
|
||||||
#include "bitmap.h"
|
#include "bitmap.h"
|
||||||
#include "font.h"
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(win16drv);
|
WINE_DEFAULT_DEBUG_CHANNEL(win16drv);
|
||||||
|
|
|
@ -58,7 +58,6 @@
|
||||||
#include "stackframe.h"
|
#include "stackframe.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "miscemu.h"
|
#include "miscemu.h"
|
||||||
#include "syslevel.h"
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(seh);
|
WINE_DEFAULT_DEBUG_CHANNEL(seh);
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "bitmap.h"
|
|
||||||
#include "gdi.h"
|
#include "gdi.h"
|
||||||
#include "ttydrv.h"
|
#include "ttydrv.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
|
@ -36,18 +36,9 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "wingdi.h"
|
#include "wingdi.h"
|
||||||
#include "wine/winuser16.h"
|
#include "winuser.h"
|
||||||
#include "wine/wingdi16.h"
|
|
||||||
#include "user.h"
|
|
||||||
|
|
||||||
struct tagBITMAPOBJ;
|
struct tagBITMAPOBJ;
|
||||||
struct tagCLASS;
|
|
||||||
struct tagDESKTOP;
|
|
||||||
struct tagPALETTEOBJ;
|
|
||||||
struct tagWND;
|
|
||||||
struct tagCURSORICONINFO;
|
|
||||||
struct tagCREATESTRUCTA;
|
|
||||||
struct tagWINDOWPOS;
|
|
||||||
|
|
||||||
#if defined(HAVE_LIBCURSES) || defined(HAVE_LIBNCURSES)
|
#if defined(HAVE_LIBCURSES) || defined(HAVE_LIBNCURSES)
|
||||||
#define WINE_CURSES
|
#define WINE_CURSES
|
||||||
|
@ -82,7 +73,6 @@ extern BOOL TTYDRV_DC_DeleteDC(TTYDRV_PDEVICE *physDev);
|
||||||
extern BOOL TTYDRV_DC_BitBlt(TTYDRV_PDEVICE *physDevDst, INT xDst, INT yDst, INT width, INT height, TTYDRV_PDEVICE *physDevSrc, INT xSrc, INT ySrc, DWORD rop);
|
extern BOOL TTYDRV_DC_BitBlt(TTYDRV_PDEVICE *physDevDst, INT xDst, INT yDst, INT width, INT height, TTYDRV_PDEVICE *physDevSrc, INT xSrc, INT ySrc, DWORD rop);
|
||||||
extern BOOL TTYDRV_DC_Chord(TTYDRV_PDEVICE *physDev, INT left, INT top, INT right, INT bottom, INT xstart, INT ystart, INT xend, INT yend);
|
extern BOOL TTYDRV_DC_Chord(TTYDRV_PDEVICE *physDev, INT left, INT top, INT right, INT bottom, INT xstart, INT ystart, INT xend, INT yend);
|
||||||
extern BOOL TTYDRV_DC_Ellipse(TTYDRV_PDEVICE *physDev, INT left, INT top, INT right, INT bottom);
|
extern BOOL TTYDRV_DC_Ellipse(TTYDRV_PDEVICE *physDev, INT left, INT top, INT right, INT bottom);
|
||||||
extern INT TTYDRV_DC_Escape(TTYDRV_PDEVICE *physDev, INT nEscape, INT cbInput, SEGPTR lpInData, SEGPTR lpOutData);
|
|
||||||
extern BOOL TTYDRV_DC_ExtFloodFill(TTYDRV_PDEVICE *physDev, INT x, INT y, COLORREF color, UINT fillType);
|
extern BOOL TTYDRV_DC_ExtFloodFill(TTYDRV_PDEVICE *physDev, INT x, INT y, COLORREF color, UINT fillType);
|
||||||
extern BOOL TTYDRV_DC_ExtTextOut(TTYDRV_PDEVICE *physDev, INT x, INT y, UINT flags, const RECT *lpRect, LPCWSTR str, UINT count, const INT *lpDx);
|
extern BOOL TTYDRV_DC_ExtTextOut(TTYDRV_PDEVICE *physDev, INT x, INT y, UINT flags, const RECT *lpRect, LPCWSTR str, UINT count, const INT *lpDx);
|
||||||
extern BOOL TTYDRV_DC_GetCharWidth(TTYDRV_PDEVICE *physDev, UINT firstChar, UINT lastChar, LPINT buffer);
|
extern BOOL TTYDRV_DC_GetCharWidth(TTYDRV_PDEVICE *physDev, UINT firstChar, UINT lastChar, LPINT buffer);
|
||||||
|
|
|
@ -24,9 +24,6 @@
|
||||||
|
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "wine/winbase16.h"
|
#include "wine/winbase16.h"
|
||||||
#include "gdi.h"
|
|
||||||
#include "user.h"
|
|
||||||
#include "win.h"
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "ttydrv.h"
|
#include "ttydrv.h"
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(ttydrv);
|
WINE_DEFAULT_DEBUG_CHANNEL(ttydrv);
|
||||||
|
|
||||||
|
struct tagCURSORICONINFO;
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* VkKeyScan (TTYDRV.@)
|
* VkKeyScan (TTYDRV.@)
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "font.h"
|
#include "wine/wingdi16.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(font);
|
WINE_DEFAULT_DEBUG_CHANNEL(font);
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
#include "gdi.h"
|
#include "gdi.h"
|
||||||
#include "bitmap.h"
|
#include "bitmap.h"
|
||||||
#include "path.h"
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(gdi);
|
WINE_DEFAULT_DEBUG_CHANNEL(gdi);
|
||||||
|
|
|
@ -35,7 +35,6 @@
|
||||||
|
|
||||||
#include "gdi.h"
|
#include "gdi.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "path.h"
|
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(gdi);
|
WINE_DEFAULT_DEBUG_CHANNEL(gdi);
|
||||||
|
|
||||||
|
|
|
@ -43,8 +43,6 @@
|
||||||
#include "wingdi.h"
|
#include "wingdi.h"
|
||||||
#include "winnls.h"
|
#include "winnls.h"
|
||||||
#include "winreg.h"
|
#include "winreg.h"
|
||||||
#include "font.h"
|
|
||||||
#include "user.h" /* for TWEAK_WineLook (FIXME) */
|
|
||||||
#include "x11font.h"
|
#include "x11font.h"
|
||||||
#include "wine/library.h"
|
#include "wine/library.h"
|
||||||
#include "wine/unicode.h"
|
#include "wine/unicode.h"
|
||||||
|
|
|
@ -1,48 +0,0 @@
|
||||||
/*
|
|
||||||
* GDI font definitions
|
|
||||||
*
|
|
||||||
* Copyright 1994 Alexandre Julliard
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __WINE_FONT_H
|
|
||||||
#define __WINE_FONT_H
|
|
||||||
|
|
||||||
#include "gdi.h"
|
|
||||||
|
|
||||||
extern BOOL FONT_Init( UINT16* pTextCaps );
|
|
||||||
extern LPWSTR FONT_mbtowc(HDC, LPCSTR, INT, INT*, UINT*);
|
|
||||||
|
|
||||||
extern INT WineEngAddFontResourceEx(LPCWSTR, DWORD, PVOID);
|
|
||||||
extern GdiFont WineEngCreateFontInstance(DC*, HFONT);
|
|
||||||
extern BOOL WineEngDestroyFontInstance(HFONT handle);
|
|
||||||
extern DWORD WineEngEnumFonts(LPLOGFONTW, DEVICEFONTENUMPROC, LPARAM);
|
|
||||||
extern BOOL WineEngGetCharWidth(GdiFont, UINT, UINT, LPINT);
|
|
||||||
extern DWORD WineEngGetFontData(GdiFont, DWORD, DWORD, LPVOID, DWORD);
|
|
||||||
extern DWORD WineEngGetGlyphIndices(GdiFont font, LPCWSTR lpstr, INT count,
|
|
||||||
LPWORD pgi, DWORD flags);
|
|
||||||
extern DWORD WineEngGetGlyphOutline(GdiFont, UINT glyph, UINT format,
|
|
||||||
LPGLYPHMETRICS, DWORD buflen, LPVOID buf,
|
|
||||||
const MAT2*);
|
|
||||||
extern UINT WineEngGetOutlineTextMetrics(GdiFont, UINT, LPOUTLINETEXTMETRICW);
|
|
||||||
extern BOOL WineEngGetTextExtentPoint(GdiFont, LPCWSTR, INT, LPSIZE);
|
|
||||||
extern BOOL WineEngGetTextExtentPointI(GdiFont, const WORD *, INT, LPSIZE);
|
|
||||||
extern INT WineEngGetTextFace(GdiFont, INT, LPWSTR);
|
|
||||||
extern BOOL WineEngGetTextMetrics(GdiFont, LPTEXTMETRICW);
|
|
||||||
extern BOOL WineEngInit(void);
|
|
||||||
extern BOOL WineEngRemoveFontResourceEx(LPCWSTR, DWORD, PVOID);
|
|
||||||
|
|
||||||
#endif /* __WINE_FONT_H */
|
|
|
@ -24,7 +24,6 @@
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "wingdi.h"
|
#include "wingdi.h"
|
||||||
#include "wine/wingdi16.h"
|
#include "wine/wingdi16.h"
|
||||||
#include "path.h"
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
/* GDI objects magic numbers */
|
/* GDI objects magic numbers */
|
||||||
|
@ -71,6 +70,27 @@ typedef struct tagGDIOBJHDR
|
||||||
} GDIOBJHDR;
|
} GDIOBJHDR;
|
||||||
|
|
||||||
|
|
||||||
|
/* It should not be necessary to access the contents of the GdiPath
|
||||||
|
* structure directly; if you find that the exported functions don't
|
||||||
|
* allow you to do what you want, then please place a new exported
|
||||||
|
* function that does this job in path.c.
|
||||||
|
*/
|
||||||
|
typedef enum tagGdiPathState
|
||||||
|
{
|
||||||
|
PATH_Null,
|
||||||
|
PATH_Open,
|
||||||
|
PATH_Closed
|
||||||
|
} GdiPathState;
|
||||||
|
|
||||||
|
typedef struct tagGdiPath
|
||||||
|
{
|
||||||
|
GdiPathState state;
|
||||||
|
POINT *pPoints;
|
||||||
|
BYTE *pFlags;
|
||||||
|
int numEntriesUsed, numEntriesAllocated;
|
||||||
|
BOOL newStroke;
|
||||||
|
} GdiPath;
|
||||||
|
|
||||||
typedef struct tagGdiFont *GdiFont;
|
typedef struct tagGdiFont *GdiFont;
|
||||||
|
|
||||||
typedef struct { int opaque; } *PHYSDEV; /* PHYSDEV is an opaque pointer */
|
typedef struct { int opaque; } *PHYSDEV; /* PHYSDEV is an opaque pointer */
|
||||||
|
@ -447,6 +467,26 @@ extern void CLIPPING_UpdateGCRegion( DC * dc );
|
||||||
/* enhmetafile.c */
|
/* enhmetafile.c */
|
||||||
extern HENHMETAFILE EMF_Create_HENHMETAFILE(ENHMETAHEADER *emh, BOOL on_disk );
|
extern HENHMETAFILE EMF_Create_HENHMETAFILE(ENHMETAHEADER *emh, BOOL on_disk );
|
||||||
|
|
||||||
|
/* freetype.c */
|
||||||
|
extern INT WineEngAddFontResourceEx(LPCWSTR, DWORD, PVOID);
|
||||||
|
extern GdiFont WineEngCreateFontInstance(DC*, HFONT);
|
||||||
|
extern BOOL WineEngDestroyFontInstance(HFONT handle);
|
||||||
|
extern DWORD WineEngEnumFonts(LPLOGFONTW, DEVICEFONTENUMPROC, LPARAM);
|
||||||
|
extern BOOL WineEngGetCharWidth(GdiFont, UINT, UINT, LPINT);
|
||||||
|
extern DWORD WineEngGetFontData(GdiFont, DWORD, DWORD, LPVOID, DWORD);
|
||||||
|
extern DWORD WineEngGetGlyphIndices(GdiFont font, LPCWSTR lpstr, INT count,
|
||||||
|
LPWORD pgi, DWORD flags);
|
||||||
|
extern DWORD WineEngGetGlyphOutline(GdiFont, UINT glyph, UINT format,
|
||||||
|
LPGLYPHMETRICS, DWORD buflen, LPVOID buf,
|
||||||
|
const MAT2*);
|
||||||
|
extern UINT WineEngGetOutlineTextMetrics(GdiFont, UINT, LPOUTLINETEXTMETRICW);
|
||||||
|
extern BOOL WineEngGetTextExtentPoint(GdiFont, LPCWSTR, INT, LPSIZE);
|
||||||
|
extern BOOL WineEngGetTextExtentPointI(GdiFont, const WORD *, INT, LPSIZE);
|
||||||
|
extern INT WineEngGetTextFace(GdiFont, INT, LPWSTR);
|
||||||
|
extern BOOL WineEngGetTextMetrics(GdiFont, LPTEXTMETRICW);
|
||||||
|
extern BOOL WineEngInit(void);
|
||||||
|
extern BOOL WineEngRemoveFontResourceEx(LPCWSTR, DWORD, PVOID);
|
||||||
|
|
||||||
/* metafile.c */
|
/* metafile.c */
|
||||||
extern HMETAFILE MF_Create_HMETAFILE(METAHEADER *mh);
|
extern HMETAFILE MF_Create_HMETAFILE(METAHEADER *mh);
|
||||||
extern HMETAFILE16 MF_Create_HMETAFILE16(METAHEADER *mh);
|
extern HMETAFILE16 MF_Create_HMETAFILE16(METAHEADER *mh);
|
||||||
|
@ -459,6 +499,37 @@ extern BOOL REGION_FrameRgn( HRGN dest, HRGN src, INT x, INT y );
|
||||||
extern HPALETTE WINAPI GDISelectPalette( HDC hdc, HPALETTE hpal, WORD wBkg);
|
extern HPALETTE WINAPI GDISelectPalette( HDC hdc, HPALETTE hpal, WORD wBkg);
|
||||||
extern UINT WINAPI GDIRealizePalette( HDC hdc );
|
extern UINT WINAPI GDIRealizePalette( HDC hdc );
|
||||||
|
|
||||||
|
/* path.c */
|
||||||
|
|
||||||
|
#define PATH_IsPathOpen(path) ((path).state==PATH_Open)
|
||||||
|
/* Returns TRUE if the specified path is in the open state, i.e. in the
|
||||||
|
* state where points will be added to the path, or FALSE otherwise. This
|
||||||
|
* function is implemented as a macro for performance reasons.
|
||||||
|
*/
|
||||||
|
|
||||||
|
extern void PATH_InitGdiPath(GdiPath *pPath);
|
||||||
|
extern void PATH_DestroyGdiPath(GdiPath *pPath);
|
||||||
|
extern BOOL PATH_AssignGdiPath(GdiPath *pPathDest, const GdiPath *pPathSrc);
|
||||||
|
|
||||||
|
extern BOOL PATH_MoveTo(DC *dc);
|
||||||
|
extern BOOL PATH_LineTo(DC *dc, INT x, INT y);
|
||||||
|
extern BOOL PATH_Rectangle(DC *dc, INT x1, INT y1, INT x2, INT y2);
|
||||||
|
extern BOOL PATH_Ellipse(DC *dc, INT x1, INT y1, INT x2, INT y2);
|
||||||
|
extern BOOL PATH_Arc(DC *dc, INT x1, INT y1, INT x2, INT y2,
|
||||||
|
INT xStart, INT yStart, INT xEnd, INT yEnd, INT lines);
|
||||||
|
extern BOOL PATH_PolyBezierTo(DC *dc, const POINT *pt, DWORD cbCount);
|
||||||
|
extern BOOL PATH_PolyBezier(DC *dc, const POINT *pt, DWORD cbCount);
|
||||||
|
extern BOOL PATH_PolylineTo(DC *dc, const POINT *pt, DWORD cbCount);
|
||||||
|
extern BOOL PATH_Polyline(DC *dc, const POINT *pt, DWORD cbCount);
|
||||||
|
extern BOOL PATH_Polygon(DC *dc, const POINT *pt, DWORD cbCount);
|
||||||
|
extern BOOL PATH_PolyPolyline(DC *dc, const POINT *pt, const DWORD *counts, DWORD polylines);
|
||||||
|
extern BOOL PATH_PolyPolygon(DC *dc, const POINT *pt, const INT *counts, UINT polygons);
|
||||||
|
extern BOOL PATH_RoundRect(DC *dc, INT x1, INT y1, INT x2, INT y2, INT ell_width, INT ell_height);
|
||||||
|
extern BOOL PATH_AddEntry(GdiPath *pPath, const POINT *pPoint, BYTE flags);
|
||||||
|
|
||||||
|
/* text.c */
|
||||||
|
extern LPWSTR FONT_mbtowc(HDC, LPCSTR, INT, INT*, UINT*);
|
||||||
|
|
||||||
#define WINE_GGO_GRAY16_BITMAP 0x7f
|
#define WINE_GGO_GRAY16_BITMAP 0x7f
|
||||||
|
|
||||||
#endif /* __WINE_GDI_H */
|
#endif /* __WINE_GDI_H */
|
||||||
|
|
|
@ -1,83 +0,0 @@
|
||||||
/*
|
|
||||||
* Graphics paths (BeginPath, EndPath etc.)
|
|
||||||
*
|
|
||||||
* Copyright 1997, 1998 Martin Boehme
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __WINE_PATH_H
|
|
||||||
#define __WINE_PATH_H
|
|
||||||
|
|
||||||
#include "windef.h"
|
|
||||||
|
|
||||||
/* It should not be necessary to access the contents of the GdiPath
|
|
||||||
* structure directly; if you find that the exported functions don't
|
|
||||||
* allow you to do what you want, then please place a new exported
|
|
||||||
* function that does this job in path.c.
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef enum tagGdiPathState
|
|
||||||
{
|
|
||||||
PATH_Null,
|
|
||||||
PATH_Open,
|
|
||||||
PATH_Closed
|
|
||||||
} GdiPathState;
|
|
||||||
|
|
||||||
typedef struct tagGdiPath
|
|
||||||
{
|
|
||||||
GdiPathState state;
|
|
||||||
POINT *pPoints;
|
|
||||||
BYTE *pFlags;
|
|
||||||
int numEntriesUsed, numEntriesAllocated;
|
|
||||||
BOOL newStroke;
|
|
||||||
} GdiPath;
|
|
||||||
|
|
||||||
#define PATH_IsPathOpen(path) ((path).state==PATH_Open)
|
|
||||||
/* Returns TRUE if the specified path is in the open state, i.e. in the
|
|
||||||
* state where points will be added to the path, or FALSE otherwise. This
|
|
||||||
* function is implemented as a macro for performance reasons.
|
|
||||||
*/
|
|
||||||
|
|
||||||
extern void PATH_InitGdiPath(GdiPath *pPath);
|
|
||||||
extern void PATH_DestroyGdiPath(GdiPath *pPath);
|
|
||||||
extern BOOL PATH_AssignGdiPath(GdiPath *pPathDest,
|
|
||||||
const GdiPath *pPathSrc);
|
|
||||||
|
|
||||||
struct tagDC;
|
|
||||||
|
|
||||||
extern BOOL PATH_MoveTo(struct tagDC *dc);
|
|
||||||
extern BOOL PATH_LineTo(struct tagDC *dc, INT x, INT y);
|
|
||||||
extern BOOL PATH_Rectangle(struct tagDC *dc, INT x1, INT y1,
|
|
||||||
INT x2, INT y2);
|
|
||||||
extern BOOL PATH_Ellipse(struct tagDC *dc, INT x1, INT y1,
|
|
||||||
INT x2, INT y2);
|
|
||||||
extern BOOL PATH_Arc(struct tagDC *dc, INT x1, INT y1, INT x2, INT y2,
|
|
||||||
INT xStart, INT yStart, INT xEnd, INT yEnd, INT lines);
|
|
||||||
extern BOOL PATH_PolyBezierTo(struct tagDC *dc, const POINT *pt, DWORD cbCount);
|
|
||||||
extern BOOL PATH_PolyBezier(struct tagDC *dc, const POINT *pt, DWORD cbCount);
|
|
||||||
extern BOOL PATH_PolylineTo(struct tagDC *dc, const POINT *pt, DWORD cbCount);
|
|
||||||
extern BOOL PATH_Polyline(struct tagDC *dc, const POINT *pt, DWORD cbCount);
|
|
||||||
extern BOOL PATH_Polygon(struct tagDC *dc, const POINT *pt, DWORD cbCount);
|
|
||||||
extern BOOL PATH_PolyPolyline(struct tagDC *dc, const POINT *pt, const DWORD *counts,
|
|
||||||
DWORD polylines);
|
|
||||||
extern BOOL PATH_PolyPolygon(struct tagDC *dc, const POINT *pt, const INT *counts,
|
|
||||||
UINT polygons);
|
|
||||||
extern BOOL PATH_RoundRect(struct tagDC *dc, INT x1, INT y1, INT x2, INT y2, INT ell_width,
|
|
||||||
INT ell_height);
|
|
||||||
extern BOOL PATH_AddEntry(GdiPath *pPath, const POINT *pPoint, BYTE flags);
|
|
||||||
#endif /* __WINE_PATH_H */
|
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "instance.h"
|
#include "instance.h"
|
||||||
#include "miscemu.h"
|
|
||||||
#include "module.h"
|
#include "module.h"
|
||||||
#include "winternl.h"
|
#include "winternl.h"
|
||||||
#include "selectors.h"
|
#include "selectors.h"
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
#include "wine/winuser16.h"
|
#include "wine/winuser16.h"
|
||||||
#include "gdi.h"
|
#include "gdi.h"
|
||||||
#include "heap.h"
|
#include "heap.h"
|
||||||
#include "font.h"
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(dc);
|
WINE_DEFAULT_DEBUG_CHANNEL(dc);
|
||||||
|
|
|
@ -28,10 +28,9 @@
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
#include "winnls.h"
|
#include "winnls.h"
|
||||||
#include "wownt32.h"
|
#include "wownt32.h"
|
||||||
#include "wine/unicode.h"
|
|
||||||
#include "font.h"
|
|
||||||
#include "wine/debug.h"
|
|
||||||
#include "gdi.h"
|
#include "gdi.h"
|
||||||
|
#include "wine/unicode.h"
|
||||||
|
#include "wine/debug.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(font);
|
WINE_DEFAULT_DEBUG_CHANNEL(font);
|
||||||
WINE_DECLARE_DEBUG_CHANNEL(gdi);
|
WINE_DECLARE_DEBUG_CHANNEL(gdi);
|
||||||
|
|
|
@ -30,11 +30,10 @@
|
||||||
#include "winerror.h"
|
#include "winerror.h"
|
||||||
|
|
||||||
#include "bitmap.h"
|
#include "bitmap.h"
|
||||||
#include "font.h"
|
|
||||||
#include "local.h"
|
#include "local.h"
|
||||||
#include "palette.h"
|
#include "palette.h"
|
||||||
#include "wine/debug.h"
|
|
||||||
#include "gdi.h"
|
#include "gdi.h"
|
||||||
|
#include "wine/debug.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(gdi);
|
WINE_DEFAULT_DEBUG_CHANNEL(gdi);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue