mirror of
https://github.com/reactos/reactos.git
synced 2024-07-14 16:36:09 +00:00
moved path functions into seperate file
svn path=/trunk/; revision=603
This commit is contained in:
parent
1ff56406ca
commit
b9a38fb83d
|
@ -19,38 +19,5 @@ UINT W32kSetBoundsRect(HDC hDC,
|
||||||
CONST PRECT Bounds,
|
CONST PRECT Bounds,
|
||||||
UINT Flags);
|
UINT Flags);
|
||||||
|
|
||||||
BOOL W32kAbortPath(HDC hDC);
|
|
||||||
|
|
||||||
BOOL W32kBeginPath(HDC hDC);
|
|
||||||
|
|
||||||
BOOL W32kCloseFigure(HDC hDC);
|
|
||||||
|
|
||||||
BOOL W32kEndPath(HDC hDC);
|
|
||||||
|
|
||||||
BOOL W32kFillPath(HDC hDC);
|
|
||||||
|
|
||||||
BOOL W32kFlattenPath(HDC hDC);
|
|
||||||
|
|
||||||
BOOL W32kGetMiterLimit(HDC hDC, PFLOAT Limit);
|
|
||||||
|
|
||||||
INT W32kGetPath(HDC hDC,
|
|
||||||
PPOINT Points,
|
|
||||||
PBYTE Types,
|
|
||||||
INT Size);
|
|
||||||
|
|
||||||
HRGN W32kPathToRegion(HDC hDC);
|
|
||||||
|
|
||||||
|
|
||||||
BOOL W32kSetMiterLimit(HDC hDC,
|
|
||||||
FLOAT NewLimit,
|
|
||||||
PFLOAT OldLimit);
|
|
||||||
|
|
||||||
|
|
||||||
BOOL W32kStrokeAndFillPath(HDC hDC);
|
|
||||||
|
|
||||||
BOOL W32kStrokePath(HDC hDC);
|
|
||||||
|
|
||||||
BOOL W32kWidenPath(HDC hDC);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
40
reactos/include/win32k/path.h
Normal file
40
reactos/include/win32k/path.h
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
|
||||||
|
#ifndef __WIN32K_PATH_H
|
||||||
|
#define __WIN32K_PATH_H
|
||||||
|
|
||||||
|
BOOL W32kAbortPath(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kBeginPath(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kCloseFigure(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kEndPath(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kFillPath(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kFlattenPath(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kGetMiterLimit(HDC hDC,
|
||||||
|
PFLOAT Limit);
|
||||||
|
|
||||||
|
INT W32kGetPath(HDC hDC,
|
||||||
|
LPPOINT Points,
|
||||||
|
LPBYTE Types,
|
||||||
|
INT nSize);
|
||||||
|
|
||||||
|
HRGN W32kPathToRegion(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kSetMiterLimit(HDC hDC,
|
||||||
|
FLOAT NewLimit,
|
||||||
|
PFLOAT OldLimit);
|
||||||
|
|
||||||
|
BOOL W32kStrokeAndFillPath(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kStrokePath(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kWidenPath(HDC hDC);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include <win32k/line.h>
|
#include <win32k/line.h>
|
||||||
#include <win32k/metafile.h>
|
#include <win32k/metafile.h>
|
||||||
#include <win32k/paint.h>
|
#include <win32k/paint.h>
|
||||||
|
#include <win32k/path.h>
|
||||||
#include <win32k/pen.h>
|
#include <win32k/pen.h>
|
||||||
#include <win32k/print.h>
|
#include <win32k/print.h>
|
||||||
#include <win32k/region.h>
|
#include <win32k/region.h>
|
||||||
|
|
|
@ -17,7 +17,7 @@ include rules.mak
|
||||||
COMPONENTS = iface_native ntoskrnl
|
COMPONENTS = iface_native ntoskrnl
|
||||||
DLLS = ntdll kernel32 crtdll fmifs gdi32
|
DLLS = ntdll kernel32 crtdll fmifs gdi32
|
||||||
#DLLS = advapi32 mingw32 user32
|
#DLLS = advapi32 mingw32 user32
|
||||||
#SUBSYS = win32k
|
SUBSYS = win32k
|
||||||
|
|
||||||
#
|
#
|
||||||
# Select the server(s) you want to build
|
# Select the server(s) you want to build
|
||||||
|
|
|
@ -7,9 +7,9 @@ MISC_OBJECTS = misc/driver.o
|
||||||
OBJECTS_OBJECTS = objects/bitmaps.o objects/brush.o objects/cliprgn.o \
|
OBJECTS_OBJECTS = objects/bitmaps.o objects/brush.o objects/cliprgn.o \
|
||||||
objects/color.o objects/coord.o objects/dc.o \
|
objects/color.o objects/coord.o objects/dc.o \
|
||||||
objects/fillshap.o objects/icm.o objects/line.o \
|
objects/fillshap.o objects/icm.o objects/line.o \
|
||||||
objects/metafile.o objects/pen.o \
|
objects/metafile.o objects/paint.o objects/path.o \
|
||||||
objects/print.o objects/region.o objects/text.o \
|
objects/pen.o objects/print.o objects/region.o \
|
||||||
objects/wingl.o
|
objects/text.o objects/wingl.o
|
||||||
RESOURCE_OBJECT = win32k.coff
|
RESOURCE_OBJECT = win32k.coff
|
||||||
STUBS_OBJECTS = stubs/stubs.o
|
STUBS_OBJECTS = stubs/stubs.o
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ BOOL W32kGdiFlush(VOID)
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
DWORD GdiGetBatchLimit(VOID)
|
DWORD W32kGdiGetBatchLimit(VOID)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
@ -42,74 +42,3 @@ UINT W32kSetBoundsRect(HDC hDC,
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL W32kAbortPath(HDC hDC)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOL W32kBeginPath(HDC hDC)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOL W32kCloseFigure(HDC hDC)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOL W32kEndPath(HDC hDC)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOL W32kFillPath(HDC hDC)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOL W32kFlattenPath(HDC hDC)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOL W32kGetMiterLimit(HDC hDC, PFLOAT Limit)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
INT W32kGetPath(HDC hDC,
|
|
||||||
PPOINT Points,
|
|
||||||
PBYTE Types,
|
|
||||||
INT Size)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
HRGN W32kPathToRegion(HDC hDC)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOL W32kSetMiterLimit(HDC hDC,
|
|
||||||
FLOAT NewLimit,
|
|
||||||
PFLOAT OldLimit)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOL W32kStrokeAndFillPath(HDC hDC)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOL W32kStrokePath(HDC hDC)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOL W32kWidenPath(HDC hDC)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
82
reactos/subsys/win32k/objects/path.c
Normal file
82
reactos/subsys/win32k/objects/path.c
Normal file
|
@ -0,0 +1,82 @@
|
||||||
|
|
||||||
|
|
||||||
|
#undef WIN32_LEAN_AND_MEAN
|
||||||
|
#include <windows.h>
|
||||||
|
#include <win32k/brush.h>
|
||||||
|
|
||||||
|
// #define NDEBUG
|
||||||
|
#include <internal/debug.h>
|
||||||
|
|
||||||
|
BOOL W32kAbortPath(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kBeginPath(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kCloseFigure(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kEndPath(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kFillPath(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kFlattenPath(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
BOOL W32kGetMiterLimit(HDC hDC,
|
||||||
|
PFLOAT Limit)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
INT W32kGetPath(HDC hDC,
|
||||||
|
LPPOINT Points,
|
||||||
|
LPBYTE Types,
|
||||||
|
INT nSize)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HRGN W32kPathToRegion(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kSetMiterLimit(HDC hDC,
|
||||||
|
FLOAT NewLimit,
|
||||||
|
PFLOAT OldLimit)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kStrokeAndFillPath(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kStrokePath(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kWidenPath(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue