mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
gdiplus: Added GdipBitmapGetPixel stub.
This commit is contained in:
parent
9a0405dc97
commit
2b4b23cfa0
3 changed files with 19 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
|||
@ stub GdipBitmapCreateApplyEffect
|
||||
@ stub GdipBitmapGetHistogram
|
||||
@ stub GdipBitmapGetHistogramSize
|
||||
@ stub GdipBitmapGetPixel
|
||||
@ stdcall GdipBitmapGetPixel(ptr long long ptr)
|
||||
@ stub GdipBitmapLockBits
|
||||
@ stub GdipBitmapSetPixel
|
||||
@ stub GdipBitmapSetResolution
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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**);
|
||||
|
|
Loading…
Reference in a new issue