ReactOS
0.4.16-dev-122-g325d74c
gdiplusbase.h
Go to the documentation of this file.
1
/*
2
* GdiPlusBase.h
3
*
4
* Windows GDI+
5
*
6
* This file is part of the w32api package.
7
*
8
* THIS SOFTWARE IS NOT COPYRIGHTED
9
*
10
* This source code is offered for use in the public domain. You may
11
* use, modify or distribute it freely.
12
*
13
* This code is distributed in the hope that it will be useful but
14
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
15
* DISCLAIMED. This includes but is not limited to warranties of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17
*/
18
19
#ifndef _GDIPLUSBASE_H
20
#define _GDIPLUSBASE_H
21
22
class
GdiplusBase
23
{
24
public
:
25
void
26
operator
delete
(
void
*in_pVoid)
27
{
28
DllExports::GdipFree(in_pVoid);
29
}
30
31
void
32
operator
delete
[](
void
*in_pVoid)
33
{
34
DllExports::GdipFree(in_pVoid);
35
}
36
37
void
*
38
operator
new
(
size_t
in_size
)
39
{
40
return
DllExports::GdipAlloc(
in_size
);
41
}
42
43
void
*
44
operator
new
[](
size_t
in_size
)
45
{
46
return
DllExports::GdipAlloc(
in_size
);
47
}
48
};
49
50
class
Brush
;
51
class
CachedBitmap
;
52
class
CustomLineCap
;
53
class
Font
;
54
class
FontCollection
;
55
class
FontFamily
;
56
class
Graphics
;
57
class
GraphicsPath
;
58
class
Image
;
59
class
ImageAttributes
;
60
class
Matrix
;
61
class
Metafile
;
62
class
Pen
;
63
class
Region
;
64
class
StringFormat
;
65
66
// get native
67
GpBrush
*&
68
getNat
(
const
Brush
*brush);
69
70
GpCachedBitmap
*&
71
getNat
(
const
CachedBitmap
*
cb
);
72
73
GpCustomLineCap
*&
74
getNat
(
const
CustomLineCap
*
cap
);
75
76
GpFont
*&
77
getNat
(
const
Font
*
font
);
78
79
GpFontCollection
*&
80
getNat
(
const
FontCollection
*
fc
);
81
82
GpFontFamily
*&
83
getNat
(
const
FontFamily
*ff);
84
85
GpGraphics
*&
86
getNat
(
const
Graphics
*graphics);
87
88
GpPath
*&
89
getNat
(
const
GraphicsPath
*
path
);
90
91
GpImage
*&
92
getNat
(
const
Image
*
image
);
93
94
GpImageAttributes
*&
95
getNat
(
const
ImageAttributes
*ia);
96
97
GpMatrix
*&
98
getNat
(
const
Matrix
*
matrix
);
99
100
GpMetafile
*&
101
getNat
(
const
Metafile
*
metafile
);
102
103
GpPen
*&
104
getNat
(
const
Pen
*pen);
105
106
GpRegion
*&
107
getNat
(
const
Region
*region);
108
109
GpStringFormat
*&
110
getNat
(
const
StringFormat
*sf);
111
112
#endif
/* _GDIPLUSBASE_H */
fc
PFOR_CONTEXT fc
Definition:
for.c:57
Brush
Definition:
gdiplusbrush.h:23
CachedBitmap
Definition:
gdiplusheaders.h:614
CustomLineCap
Definition:
gdiplusheaders.h:1396
FontCollection
Definition:
gdiplusheaders.h:653
FontFamily
Definition:
gdiplusheaders.h:712
Font
Definition:
gdiplusheaders.h:874
GdiplusBase
Definition:
gdiplusbase.h:23
GraphicsPath
Definition:
gdipluspath.h:23
Graphics
Definition:
gdiplusgraphics.h:23
ImageAttributes
Definition:
gdiplusimageattributes.h:23
Image
Definition:
gdiplusheaders.h:23
Matrix
Definition:
gdiplusmatrix.h:23
Metafile
Definition:
gdiplusmetafile.h:23
Pen
Definition:
gdipluspen.h:23
Region
Definition:
gdiplusheaders.h:1013
StringFormat
Definition:
gdiplusstringformat.h:23
getNat
GpBrush *& getNat(const Brush *brush)
Definition:
gdiplusbrush.h:97
matrix
GLuint GLenum matrix
Definition:
glext.h:9407
cap
GLenum cap
Definition:
glext.h:9639
void
Definition:
nsiface.idl:2307
cb
static HMODULE MODULEINFO DWORD cb
Definition:
module.c:33
in_size
static HANDLE PIO_APC_ROUTINE PVOID PIO_STATUS_BLOCK ULONG PVOID ULONG in_size
Definition:
file.c:100
metafile
static const unsigned char metafile[]
Definition:
olepicture.c:138
font
Definition:
mk_font.cpp:20
GpBrush
Definition:
gdiplus_private.h:257
GpCachedBitmap
Definition:
gdiplus_private.h:444
GpCustomLineCap
Definition:
gdiplus_private.h:330
GpFontCollection
Definition:
gdiplus_private.h:514
GpFontFamily
Definition:
gdiplus_private.h:520
GpFont
Definition:
gdiplus_private.h:485
GpGraphics
Definition:
gdiplus_private.h:223
GpImageAttributes
Definition:
gdiplus_private.h:473
GpImage
Definition:
gdiplus_private.h:347
GpMatrix
Definition:
gdiplus_private.h:199
GpMetafile
Definition:
gdiplus_private.h:390
GpPath
Definition:
gdiplus_private.h:316
GpPen
Definition:
gdiplus_private.h:203
GpRegion
Definition:
gdiplus_private.h:550
GpStringFormat
Definition:
gdiplus_private.h:494
path
Definition:
wbemprox_private.h:188
sdk
include
psdk
gdiplusbase.h
Generated on Sat Oct 12 2024 06:11:46 for ReactOS by
1.9.6