ReactOS 0.4.16-dev-329-g9223134
path.c File Reference
#include <precomp.h>
Include dependency graph for path.c:

Go to the source code of this file.

Functions

BOOL WINAPI AbortPath (HDC hdc)
 
BOOL WINAPI BeginPath (HDC hdc)
 
BOOL WINAPI CloseFigure (HDC hdc)
 
BOOL WINAPI EndPath (HDC hdc)
 
BOOL WINAPI FillPath (HDC hdc)
 
BOOL WINAPI FlattenPath (HDC hdc)
 
INT WINAPI GetPath (HDC hdc, LPPOINT pptlBuf, LPBYTE pjTypes, INT cptBuf)
 
HRGN WINAPI PathToRegion (HDC hdc)
 
BOOL WINAPI SetMiterLimit (HDC hdc, FLOAT a1, PFLOAT a2)
 
BOOL WINAPI StrokeAndFillPath (HDC hdc)
 
BOOL WINAPI StrokePath (HDC hdc)
 
BOOL WINAPI WidenPath (HDC hdc)
 
BOOL WINAPI SelectClipPath (HDC hdc, int iMode)
 

Function Documentation

◆ AbortPath()

BOOL WINAPI AbortPath ( HDC  hdc)

Definition at line 18 of file path.c.

20{
22 return NtGdiAbortPath(hdc);
23}
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
#define HANDLE_METADC0P(_RetType, _Func, dwError, hdc,...)
Definition: gdi32p.h:622
HDC hdc
Definition: main.c:9
__kernel_entry W32KAPI BOOL APIENTRY NtGdiAbortPath(_In_ HDC hdc)
BOOL WINAPI AbortPath(_In_ HDC hdc)

◆ BeginPath()

BOOL WINAPI BeginPath ( HDC  hdc)

Definition at line 31 of file path.c.

33{
35 return NtGdiBeginPath(hdc);
36}
__kernel_entry W32KAPI BOOL APIENTRY NtGdiBeginPath(_In_ HDC hdc)
BOOL WINAPI BeginPath(_In_ HDC hdc)

◆ CloseFigure()

BOOL WINAPI CloseFigure ( HDC  hdc)

Definition at line 43 of file path.c.

45{
47 return NtGdiCloseFigure(hdc);
48}
__kernel_entry W32KAPI BOOL APIENTRY NtGdiCloseFigure(_In_ HDC hdc)
BOOL WINAPI CloseFigure(_In_ HDC hdc)

◆ EndPath()

BOOL WINAPI EndPath ( HDC  hdc)

Definition at line 56 of file path.c.

58{
60 return NtGdiEndPath( hdc );
61}
__kernel_entry W32KAPI BOOL APIENTRY NtGdiEndPath(_In_ HDC hdc)
BOOL WINAPI EndPath(_In_ HDC)

◆ FillPath()

BOOL WINAPI FillPath ( HDC  hdc)

Definition at line 69 of file path.c.

71{
73 return NtGdiFillPath( hdc );
74}
__kernel_entry W32KAPI BOOL APIENTRY NtGdiFillPath(_In_ HDC hdc)
BOOL WINAPI FillPath(_In_ HDC)

◆ FlattenPath()

BOOL WINAPI FlattenPath ( HDC  hdc)

Definition at line 82 of file path.c.

84{
86 return NtGdiFlattenPath ( hdc );
87}
__kernel_entry W32KAPI BOOL APIENTRY NtGdiFlattenPath(_In_ HDC hdc)
BOOL WINAPI FlattenPath(_In_ HDC)

◆ GetPath()

INT WINAPI GetPath ( HDC  hdc,
LPPOINT  pptlBuf,
LPBYTE  pjTypes,
INT  cptBuf 
)

Definition at line 95 of file path.c.

99{
100 INT retValue = -1;
101
103 {
105 }
106 else
107 {
108 retValue = NtGdiGetPath(hdc,pptlBuf,pjTypes,cptBuf);
109 }
110
111 return retValue;
112}
#define ERROR_INVALID_PARAMETER
Definition: compat.h:101
#define SetLastError(x)
Definition: compat.h:752
#define GDI_HANDLE_GET_TYPE(h)
Definition: gdi.h:31
#define GDI_OBJECT_TYPE_METADC
Definition: gdi.h:57
__kernel_entry W32KAPI INT APIENTRY NtGdiGetPath(_In_ HDC hdc, _Out_writes_opt_(cptBuf) LPPOINT pptlBuf, _Out_writes_opt_(cptBuf) LPBYTE pjTypes, _In_ INT cptBuf)
int32_t INT
Definition: typedefs.h:58

◆ PathToRegion()

HRGN WINAPI PathToRegion ( HDC  hdc)

Definition at line 120 of file path.c.

122{
124 return NtGdiPathToRegion(hdc);
125}
#define NULL
Definition: types.h:112
__kernel_entry W32KAPI HRGN APIENTRY NtGdiPathToRegion(_In_ HDC hdc)

◆ SelectClipPath()

BOOL WINAPI SelectClipPath ( HDC  hdc,
int  iMode 
)

Definition at line 191 of file path.c.

194{
197}
#define HANDLE_EMETAFDC(_RetType, _Func, dwError, hdc,...)
Definition: gdi32p.h:644
__kernel_entry W32KAPI BOOL APIENTRY NtGdiSelectClipPath(_In_ HDC hdc, _In_ INT iMode)
_In_ ULONG iMode
Definition: winddi.h:3520
BOOL WINAPI SelectClipPath(_In_ HDC, _In_ int)

◆ SetMiterLimit()

BOOL WINAPI SetMiterLimit ( HDC  hdc,
FLOAT  a1,
PFLOAT  a2 
)

Definition at line 132 of file path.c.

137{
138 BOOL Ret;
139 gxf_long worker, worker1;
140
141 worker.f = a1;
142 Ret = NtGdiSetMiterLimit ( hdc, worker.l, a2 ? &worker1.l : NULL );
143 if (a2 && Ret) *a2 = worker1.f;
144 return Ret;
145}
static const struct update_accum a1
Definition: msg.c:578
static const struct update_accum a2
Definition: msg.c:586
__kernel_entry W32KAPI BOOL APIENTRY NtGdiSetMiterLimit(_In_ HDC hdc, _In_ DWORD dwNew, _Inout_opt_ PDWORD pdwOut)
ULONG l
Definition: ntgdityp.h:427
FLOAT f
Definition: ntgdityp.h:426

◆ StrokeAndFillPath()

BOOL WINAPI StrokeAndFillPath ( HDC  hdc)

Definition at line 153 of file path.c.

155{
157 return NtGdiStrokeAndFillPath ( hdc );
158}
__kernel_entry W32KAPI BOOL APIENTRY NtGdiStrokeAndFillPath(_In_ HDC hdc)
BOOL WINAPI StrokeAndFillPath(_In_ HDC)

◆ StrokePath()

BOOL WINAPI StrokePath ( HDC  hdc)

Definition at line 166 of file path.c.

168{
170 return NtGdiStrokePath ( hdc );
171}
__kernel_entry W32KAPI BOOL APIENTRY NtGdiStrokePath(_In_ HDC hdc)
BOOL WINAPI StrokePath(_In_ HDC)

◆ WidenPath()

BOOL WINAPI WidenPath ( HDC  hdc)

Definition at line 179 of file path.c.

181{
183 return NtGdiWidenPath ( hdc );
184}
__kernel_entry W32KAPI BOOL APIENTRY NtGdiWidenPath(_In_ HDC hdc)
BOOL WINAPI WidenPath(_In_ HDC)