Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b6b97b1e
Commit
b6b97b1e
authored
Aug 29, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Add some missing or related prototypes and types.
Fix the GdipDrawRectangles() prototype.
parent
643d1e88
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
5 deletions
+27
-5
graphics.c
dlls/gdiplus/graphics.c
+1
-1
image.c
dlls/gdiplus/image.c
+0
-2
gdiplusflat.h
include/gdiplusflat.h
+0
-0
gdiplusgpstubs.h
include/gdiplusgpstubs.h
+1
-1
gdiplusimaging.h
include/gdiplusimaging.h
+24
-1
gdiplustypes.h
include/gdiplustypes.h
+1
-0
No files found.
dlls/gdiplus/graphics.c
View file @
b6b97b1e
...
...
@@ -1231,7 +1231,7 @@ GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics *graphics, GpPen *pen, INT x,
}
GpStatus
WINGDIPAPI
GdipDrawRectangles
(
GpGraphics
*
graphics
,
GpPen
*
pen
,
GpRectF
*
rects
,
INT
count
)
G
DIPCONST
G
pRectF
*
rects
,
INT
count
)
{
GpPointF
*
ptf
;
POINT
*
pti
;
...
...
dlls/gdiplus/image.c
View file @
b6b97b1e
...
...
@@ -34,8 +34,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
gdiplus
);
typedef
void
ImageItemData
;
#define PIXELFORMATBPP(x) ((x) ? ((x) >> 8) & 255 : 24)
static
INT
ipicture_pixel_height
(
IPicture
*
pic
)
...
...
include/gdiplusflat.h
View file @
b6b97b1e
This diff is collapsed.
Click to expand it.
include/gdiplusgpstubs.h
View file @
b6b97b1e
...
...
@@ -69,12 +69,12 @@ typedef FillMode GpFillMode;
typedef
PathData
GpPathData
;
typedef
LineCap
GpLineCap
;
typedef
RectF
GpRectF
;
typedef
Rect
GpRect
;
typedef
LineJoin
GpLineJoin
;
typedef
DashCap
GpDashCap
;
typedef
DashStyle
GpDashStyle
;
typedef
MatrixOrder
GpMatrixOrder
;
typedef
Point
GpPoint
;
typedef
WrapMode
GpWrapMode
;
typedef
Rect
GpRect
;
#endif
include/gdiplusimaging.h
View file @
b6b97b1e
...
...
@@ -54,6 +54,18 @@ public:
UINT_PTR
Reserved
;
};
class
ImageItemData
{
public
:
UINT
Size
;
UINT
Position
;
VOID
*
Desc
;
UINT
DescSize
;
VOID
*
Data
;
UINT
DataSize
;
UINT
Cookie
;
};
#else
/* end of c++ typedefs */
typedef
enum
ImageLockMode
ImageLockMode
;
...
...
@@ -80,7 +92,18 @@ typedef struct BitmapData
PixelFormat
PixelFormat
;
VOID
*
Scan0
;
UINT_PTR
Reserved
;
/* undocumented: stores the lock mode */
}
BitmapData
;
}
BitmapData
;
typedef
struct
ImageItemData
{
UINT
Size
;
UINT
Position
;
VOID
*
Desc
;
UINT
DescSize
;
VOID
*
Data
;
UINT
DataSize
;
UINT
Cookie
;
}
ImageItemData
;
#endif
/* end of c typedefs */
...
...
include/gdiplustypes.h
View file @
b6b97b1e
...
...
@@ -177,6 +177,7 @@ public:
REAL
Height
;
};
/* FIXME: missing the methods. */
class
Rect
{
public
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment