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
2b4b23cf
Commit
2b4b23cf
authored
Jul 31, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Aug 01, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipBitmapGetPixel stub.
parent
9a0405dc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
1 deletion
+19
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
image.c
dlls/gdiplus/image.c
+17
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
2b4b23cf
...
...
@@ -40,7 +40,7 @@
@ stub GdipBitmapCreateApplyEffect
@ stub GdipBitmapGetHistogram
@ stub GdipBitmapGetHistogramSize
@ st
ub GdipBitmapGetPixel
@ st
dcall GdipBitmapGetPixel(ptr long long ptr)
@ stub GdipBitmapLockBits
@ stub GdipBitmapSetPixel
@ stub GdipBitmapSetResolution
...
...
dlls/gdiplus/image.c
View file @
2b4b23cf
...
...
@@ -36,6 +36,23 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdiplus);
typedef
void
ImageItemData
;
GpStatus
WINGDIPAPI
GdipBitmapGetPixel
(
GpBitmap
*
bitmap
,
INT
x
,
INT
y
,
ARGB
*
color
)
{
static
int
calls
;
TRACE
(
"%p %d %d %p
\n
"
,
bitmap
,
x
,
y
,
color
);
if
(
!
bitmap
||
!
color
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
*
color
=
0xdeadbeef
;
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipCreateBitmapFromScan0
(
INT
width
,
INT
height
,
INT
stride
,
PixelFormat
format
,
BYTE
*
scan0
,
GpBitmap
**
bitmap
)
{
...
...
include/gdiplusflat.h
View file @
2b4b23cf
...
...
@@ -138,6 +138,7 @@ GpStatus WINGDIPAPI GdipCreateCustomLineCap(GpPath*,GpPath*,GpLineCap,REAL,
GpCustomLineCap
**
);
GpStatus
WINGDIPAPI
GdipDeleteCustomLineCap
(
GpCustomLineCap
*
);
GpStatus
WINGDIPAPI
GdipBitmapGetPixel
(
GpBitmap
*
,
INT
,
INT
,
ARGB
*
);
GpStatus
WINGDIPAPI
GdipCreateBitmapFromScan0
(
INT
,
INT
,
INT
,
PixelFormat
,
BYTE
*
,
GpBitmap
**
);
GpStatus
WINGDIPAPI
GdipCreateBitmapFromStreamICM
(
IStream
*
,
GpBitmap
**
);
...
...
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