ReactOS 0.4.15-dev-7918-g2a2556c
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
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
50class Brush;
51class CachedBitmap;
52class CustomLineCap;
53class Font;
54class FontCollection;
55class FontFamily;
56class Graphics;
57class GraphicsPath;
58class Image;
59class ImageAttributes;
60class Matrix;
61class Metafile;
62class Pen;
63class Region;
64class StringFormat;
65
66// get native
67GpBrush *&
68getNat(const Brush *brush);
69
71getNat(const CachedBitmap *cb);
72
75
76GpFont *&
77getNat(const Font *font);
78
81
83getNat(const FontFamily *ff);
84
86getNat(const Graphics *graphics);
87
88GpPath *&
90
91GpImage *&
92getNat(const Image *image);
93
95getNat(const ImageAttributes *ia);
96
97GpMatrix *&
98getNat(const Matrix *matrix);
99
100GpMetafile *&
101getNat(const Metafile *metafile);
102
103GpPen *&
104getNat(const Pen *pen);
105
106GpRegion *&
107getNat(const Region *region);
108
110getNat(const StringFormat *sf);
111
112#endif /* _GDIPLUSBASE_H */
PFOR_CONTEXT fc
Definition: for.c:57
Definition: gdipluspen.h:23
GpBrush *& getNat(const Brush *brush)
Definition: gdiplusbrush.h:97
GLuint GLenum matrix
Definition: glext.h:9407
GLenum cap
Definition: glext.h:9639
static HMODULE MODULEINFO DWORD cb
Definition: module.c:33
static HANDLE PIO_APC_ROUTINE PVOID PIO_STATUS_BLOCK ULONG PVOID ULONG in_size
Definition: file.c:100
static const unsigned char metafile[]
Definition: olepicture.c:138
Definition: mk_font.cpp:20