urlmon: Make HttpProtocol conform with native wininet on wine.
[wine/wine-kai.git] / include / gdiplusflat.h
blobd9f5f9a5d6d0de6a1b029fbed42244ec086e8eb8
1 /*
2 * Copyright (C) 2007 Google (Evan Stade)
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef _FLATAPI_H
20 #define _FLATAPI_H
22 #define WINGDIPAPI __stdcall
24 #define GDIPCONST const
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
30 GpStatus WINGDIPAPI GdipCreatePen1(ARGB,REAL,GpUnit,GpPen**);
31 GpStatus WINGDIPAPI GdipDeletePen(GpPen*);
32 GpStatus WINGDIPAPI GdipSetPenEndCap(GpPen*,GpLineCap);
34 GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
35 GpStatus WINGDIPAPI GdipCreateFromHWND(HWND,GpGraphics**);
36 GpStatus WINGDIPAPI GdipDeleteGraphics(GpGraphics *);
37 GpStatus WINGDIPAPI GdipDrawArc(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL);
38 GpStatus WINGDIPAPI GdipDrawBezier(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,
39 REAL,REAL,REAL);
40 GpStatus WINGDIPAPI GdipDrawCurve2(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT,REAL);
41 GpStatus WINGDIPAPI GdipDrawLineI(GpGraphics*,GpPen*,INT,INT,INT,INT);
42 GpStatus WINGDIPAPI GdipDrawLines(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
43 GpStatus WINGDIPAPI GdipDrawPie(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL);
44 GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics*,GpPen*,INT,INT,INT,INT);
45 GpStatus WINGDIPAPI GdipFillPie(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL,REAL,REAL);
47 GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB,GpSolidFill**);
48 GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*);
49 GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*);
51 GpStatus WINGDIPAPI GdipAddPathLine2(GpPath*,GDIPCONST GpPointF*,INT);
52 GpStatus WINGDIPAPI GdipClosePathFigure(GpPath*);
53 GpStatus WINGDIPAPI GdipClosePathFigures(GpPath*);
54 GpStatus WINGDIPAPI GdipCreatePath(GpFillMode,GpPath**);
55 GpStatus WINGDIPAPI GdipDeletePath(GpPath*);
56 GpStatus WINGDIPAPI GdipGetPathPoints(GpPath*,GpPointF*,INT);
57 GpStatus WINGDIPAPI GdipGetPathTypes(GpPath*,BYTE*,INT);
58 GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
60 #ifdef __cplusplus
62 #endif
64 #endif