gdiplus: Add TRACE(..) for brush calls.
This commit is contained in:
parent
0f87374a17
commit
26ccb33f86
|
@ -36,6 +36,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdiplus);
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipCloneBrush(GpBrush *brush, GpBrush **clone)
|
GpStatus WINGDIPAPI GdipCloneBrush(GpBrush *brush, GpBrush **clone)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p)\n", brush, clone);
|
||||||
|
|
||||||
if(!brush || !clone)
|
if(!brush || !clone)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -125,6 +127,9 @@ GpStatus WINGDIPAPI GdipCreateLineBrush(GDIPCONST GpPointF* startpoint,
|
||||||
{
|
{
|
||||||
COLORREF col = ARGB2COLORREF(startcolor);
|
COLORREF col = ARGB2COLORREF(startcolor);
|
||||||
|
|
||||||
|
TRACE("(%p, %p, %x, %x, %d, %p)\n", startpoint, endpoint,
|
||||||
|
startcolor, endcolor, wrap, line);
|
||||||
|
|
||||||
if(!line || !startpoint || !endpoint || wrap == WrapModeClamp)
|
if(!line || !startpoint || !endpoint || wrap == WrapModeClamp)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -156,6 +161,9 @@ GpStatus WINGDIPAPI GdipCreateLineBrushI(GDIPCONST GpPoint* startpoint,
|
||||||
GpPointF stF;
|
GpPointF stF;
|
||||||
GpPointF endF;
|
GpPointF endF;
|
||||||
|
|
||||||
|
TRACE("(%p, %p, %x, %x, %d, %p)\n", startpoint, endpoint,
|
||||||
|
startcolor, endcolor, wrap, line);
|
||||||
|
|
||||||
if(!startpoint || !endpoint)
|
if(!startpoint || !endpoint)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -173,6 +181,9 @@ GpStatus WINGDIPAPI GdipCreateLineBrushFromRect(GDIPCONST GpRectF* rect,
|
||||||
{
|
{
|
||||||
GpPointF start, end;
|
GpPointF start, end;
|
||||||
|
|
||||||
|
TRACE("(%p, %x, %x, %d, %d, %p)\n", rect, startcolor, endcolor, mode,
|
||||||
|
wrap, line);
|
||||||
|
|
||||||
if(!line || !rect)
|
if(!line || !rect)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -190,6 +201,9 @@ GpStatus WINGDIPAPI GdipCreateLineBrushFromRectI(GDIPCONST GpRect* rect,
|
||||||
{
|
{
|
||||||
GpRectF rectF;
|
GpRectF rectF;
|
||||||
|
|
||||||
|
TRACE("(%p, %x, %x, %d, %d, %p)\n", rect, startcolor, endcolor, mode,
|
||||||
|
wrap, line);
|
||||||
|
|
||||||
rectF.X = (REAL) rect->X;
|
rectF.X = (REAL) rect->X;
|
||||||
rectF.Y = (REAL) rect->Y;
|
rectF.Y = (REAL) rect->Y;
|
||||||
rectF.Width = (REAL) rect->Width;
|
rectF.Width = (REAL) rect->Width;
|
||||||
|
@ -205,6 +219,9 @@ GpStatus WINGDIPAPI GdipCreateLineBrushFromRectWithAngle(GDIPCONST GpRectF* rect
|
||||||
ARGB startcolor, ARGB endcolor, REAL angle, BOOL isAngleScalable, GpWrapMode wrap,
|
ARGB startcolor, ARGB endcolor, REAL angle, BOOL isAngleScalable, GpWrapMode wrap,
|
||||||
GpLineGradient **line)
|
GpLineGradient **line)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %x, %x, %.2f, %d, %d, %p)\n", rect, startcolor, endcolor, angle, isAngleScalable,
|
||||||
|
wrap, line);
|
||||||
|
|
||||||
return GdipCreateLineBrushFromRect(rect, startcolor, endcolor, LinearGradientModeForwardDiagonal,
|
return GdipCreateLineBrushFromRect(rect, startcolor, endcolor, LinearGradientModeForwardDiagonal,
|
||||||
wrap, line);
|
wrap, line);
|
||||||
}
|
}
|
||||||
|
@ -213,6 +230,9 @@ GpStatus WINGDIPAPI GdipCreateLineBrushFromRectWithAngleI(GDIPCONST GpRect* rect
|
||||||
ARGB startcolor, ARGB endcolor, REAL angle, BOOL isAngleScalable, GpWrapMode wrap,
|
ARGB startcolor, ARGB endcolor, REAL angle, BOOL isAngleScalable, GpWrapMode wrap,
|
||||||
GpLineGradient **line)
|
GpLineGradient **line)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %x, %x, %.2f, %d, %d, %p)\n", rect, startcolor, endcolor, angle, isAngleScalable,
|
||||||
|
wrap, line);
|
||||||
|
|
||||||
return GdipCreateLineBrushFromRectI(rect, startcolor, endcolor, LinearGradientModeForwardDiagonal,
|
return GdipCreateLineBrushFromRectI(rect, startcolor, endcolor, LinearGradientModeForwardDiagonal,
|
||||||
wrap, line);
|
wrap, line);
|
||||||
}
|
}
|
||||||
|
@ -222,6 +242,8 @@ GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF* points,
|
||||||
{
|
{
|
||||||
COLORREF col = ARGB2COLORREF(0xffffffff);
|
COLORREF col = ARGB2COLORREF(0xffffffff);
|
||||||
|
|
||||||
|
TRACE("(%p, %d, %d, %p)\n", points, count, wrap, grad);
|
||||||
|
|
||||||
if(!points || !grad)
|
if(!points || !grad)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -278,6 +300,8 @@ GpStatus WINGDIPAPI GdipCreatePathGradientI(GDIPCONST GpPoint* points,
|
||||||
GpStatus ret;
|
GpStatus ret;
|
||||||
INT i;
|
INT i;
|
||||||
|
|
||||||
|
TRACE("(%p, %d, %d, %p)\n", points, count, wrap, grad);
|
||||||
|
|
||||||
if(!points || !grad)
|
if(!points || !grad)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -305,6 +329,8 @@ GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath* path,
|
||||||
{
|
{
|
||||||
COLORREF col = ARGB2COLORREF(0xffffffff);
|
COLORREF col = ARGB2COLORREF(0xffffffff);
|
||||||
|
|
||||||
|
TRACE("(%p, %p)\n", path, grad);
|
||||||
|
|
||||||
if(!path || !grad)
|
if(!path || !grad)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -357,6 +383,8 @@ GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB color, GpSolidFill **sf)
|
||||||
{
|
{
|
||||||
COLORREF col = ARGB2COLORREF(color);
|
COLORREF col = ARGB2COLORREF(color);
|
||||||
|
|
||||||
|
TRACE("(%x, %p)\n", color, sf);
|
||||||
|
|
||||||
if(!sf) return InvalidParameter;
|
if(!sf) return InvalidParameter;
|
||||||
|
|
||||||
*sf = GdipAlloc(sizeof(GpSolidFill));
|
*sf = GdipAlloc(sizeof(GpSolidFill));
|
||||||
|
@ -434,6 +462,9 @@ GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage *image,
|
||||||
BOOL bm_is_selected;
|
BOOL bm_is_selected;
|
||||||
BYTE *dibits, *buff, *textbits;
|
BYTE *dibits, *buff, *textbits;
|
||||||
|
|
||||||
|
TRACE("(%p, %p, %.2f, %.2f, %.2f, %.2f, %p)\n", image, imageattr, x, y, width, height,
|
||||||
|
texture);
|
||||||
|
|
||||||
if(!image || !texture || x < 0.0 || y < 0.0 || width < 0.0 || height < 0.0)
|
if(!image || !texture || x < 0.0 || y < 0.0 || width < 0.0 || height < 0.0)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -538,6 +569,9 @@ GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage *image,
|
||||||
GpStatus WINGDIPAPI GdipCreateTextureIAI(GpImage *image, GDIPCONST GpImageAttributes *imageattr,
|
GpStatus WINGDIPAPI GdipCreateTextureIAI(GpImage *image, GDIPCONST GpImageAttributes *imageattr,
|
||||||
INT x, INT y, INT width, INT height, GpTexture **texture)
|
INT x, INT y, INT width, INT height, GpTexture **texture)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p, %d, %d, %d, %d, %p)\n", image, imageattr, x, y, width, height,
|
||||||
|
texture);
|
||||||
|
|
||||||
return GdipCreateTextureIA(image,imageattr,(REAL)x,(REAL)y,(REAL)width,(REAL)height,texture);
|
return GdipCreateTextureIA(image,imageattr,(REAL)x,(REAL)y,(REAL)width,(REAL)height,texture);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -556,6 +590,8 @@ GpStatus WINGDIPAPI GdipCreateTexture2I(GpImage *image, GpWrapMode wrapmode,
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipGetBrushType(GpBrush *brush, GpBrushType *type)
|
GpStatus WINGDIPAPI GdipGetBrushType(GpBrush *brush, GpBrushType *type)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p)\n", brush, type);
|
||||||
|
|
||||||
if(!brush || !type) return InvalidParameter;
|
if(!brush || !type) return InvalidParameter;
|
||||||
|
|
||||||
*type = brush->bt;
|
*type = brush->bt;
|
||||||
|
@ -565,6 +601,8 @@ GpStatus WINGDIPAPI GdipGetBrushType(GpBrush *brush, GpBrushType *type)
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush *brush)
|
GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush *brush)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p)\n", brush);
|
||||||
|
|
||||||
if(!brush) return InvalidParameter;
|
if(!brush) return InvalidParameter;
|
||||||
|
|
||||||
switch(brush->bt)
|
switch(brush->bt)
|
||||||
|
@ -591,6 +629,8 @@ GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush *brush)
|
||||||
GpStatus WINGDIPAPI GdipGetLineGammaCorrection(GpLineGradient *line,
|
GpStatus WINGDIPAPI GdipGetLineGammaCorrection(GpLineGradient *line,
|
||||||
BOOL *usinggamma)
|
BOOL *usinggamma)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p)\n", line, usinggamma);
|
||||||
|
|
||||||
if(!line)
|
if(!line)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -601,6 +641,8 @@ GpStatus WINGDIPAPI GdipGetLineGammaCorrection(GpLineGradient *line,
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipGetLineWrapMode(GpLineGradient *brush, GpWrapMode *wrapmode)
|
GpStatus WINGDIPAPI GdipGetLineWrapMode(GpLineGradient *brush, GpWrapMode *wrapmode)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p)\n", brush, wrapmode);
|
||||||
|
|
||||||
if(!brush || !wrapmode)
|
if(!brush || !wrapmode)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -612,6 +654,8 @@ GpStatus WINGDIPAPI GdipGetLineWrapMode(GpLineGradient *brush, GpWrapMode *wrapm
|
||||||
GpStatus WINGDIPAPI GdipGetPathGradientBlend(GpPathGradient *brush, REAL *blend,
|
GpStatus WINGDIPAPI GdipGetPathGradientBlend(GpPathGradient *brush, REAL *blend,
|
||||||
REAL *positions, INT count)
|
REAL *positions, INT count)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p, %p, %d)\n", brush, blend, positions, count);
|
||||||
|
|
||||||
if(!brush || !blend || !positions || count <= 0)
|
if(!brush || !blend || !positions || count <= 0)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -628,6 +672,8 @@ GpStatus WINGDIPAPI GdipGetPathGradientBlend(GpPathGradient *brush, REAL *blend,
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipGetPathGradientBlendCount(GpPathGradient *brush, INT *count)
|
GpStatus WINGDIPAPI GdipGetPathGradientBlendCount(GpPathGradient *brush, INT *count)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p)\n", brush, count);
|
||||||
|
|
||||||
if(!brush || !count)
|
if(!brush || !count)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -639,6 +685,8 @@ GpStatus WINGDIPAPI GdipGetPathGradientBlendCount(GpPathGradient *brush, INT *co
|
||||||
GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint(GpPathGradient *grad,
|
GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint(GpPathGradient *grad,
|
||||||
GpPointF *point)
|
GpPointF *point)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p)\n", grad, point);
|
||||||
|
|
||||||
if(!grad || !point)
|
if(!grad || !point)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -654,6 +702,8 @@ GpStatus WINGDIPAPI GdipGetPathGradientCenterPointI(GpPathGradient *grad,
|
||||||
GpStatus ret;
|
GpStatus ret;
|
||||||
GpPointF ptf;
|
GpPointF ptf;
|
||||||
|
|
||||||
|
TRACE("(%p, %p)\n", grad, point);
|
||||||
|
|
||||||
if(!point)
|
if(!point)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -670,6 +720,8 @@ GpStatus WINGDIPAPI GdipGetPathGradientCenterPointI(GpPathGradient *grad,
|
||||||
GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient *grad,
|
GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient *grad,
|
||||||
REAL *x, REAL *y)
|
REAL *x, REAL *y)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p, %p)\n", grad, x, y);
|
||||||
|
|
||||||
if(!grad || !x || !y)
|
if(!grad || !x || !y)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -682,6 +734,8 @@ GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient *grad,
|
||||||
GpStatus WINGDIPAPI GdipGetPathGradientGammaCorrection(GpPathGradient *grad,
|
GpStatus WINGDIPAPI GdipGetPathGradientGammaCorrection(GpPathGradient *grad,
|
||||||
BOOL *gamma)
|
BOOL *gamma)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p)\n", grad, gamma);
|
||||||
|
|
||||||
if(!grad || !gamma)
|
if(!grad || !gamma)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -693,6 +747,8 @@ GpStatus WINGDIPAPI GdipGetPathGradientGammaCorrection(GpPathGradient *grad,
|
||||||
GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient *grad,
|
GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient *grad,
|
||||||
INT *count)
|
INT *count)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p)\n", grad, count);
|
||||||
|
|
||||||
if(!grad || !count)
|
if(!grad || !count)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -707,6 +763,8 @@ GpStatus WINGDIPAPI GdipGetPathGradientRect(GpPathGradient *brush, GpRectF *rect
|
||||||
GpPath* path;
|
GpPath* path;
|
||||||
GpStatus stat;
|
GpStatus stat;
|
||||||
|
|
||||||
|
TRACE("(%p, %p)\n", brush, rect);
|
||||||
|
|
||||||
if(!brush || !rect)
|
if(!brush || !rect)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -732,6 +790,8 @@ GpStatus WINGDIPAPI GdipGetPathGradientRectI(GpPathGradient *brush, GpRect *rect
|
||||||
GpRectF rectf;
|
GpRectF rectf;
|
||||||
GpStatus stat;
|
GpStatus stat;
|
||||||
|
|
||||||
|
TRACE("(%p, %p)\n", brush, rect);
|
||||||
|
|
||||||
if(!brush || !rect)
|
if(!brush || !rect)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -763,6 +823,8 @@ GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount(GpPathGradient
|
||||||
GpStatus WINGDIPAPI GdipGetPathGradientWrapMode(GpPathGradient *brush,
|
GpStatus WINGDIPAPI GdipGetPathGradientWrapMode(GpPathGradient *brush,
|
||||||
GpWrapMode *wrapmode)
|
GpWrapMode *wrapmode)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p)\n", brush, wrapmode);
|
||||||
|
|
||||||
if(!brush || !wrapmode)
|
if(!brush || !wrapmode)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -773,6 +835,8 @@ GpStatus WINGDIPAPI GdipGetPathGradientWrapMode(GpPathGradient *brush,
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill *sf, ARGB *argb)
|
GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill *sf, ARGB *argb)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p)\n", sf, argb);
|
||||||
|
|
||||||
if(!sf || !argb)
|
if(!sf || !argb)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -798,6 +862,8 @@ GpStatus WINGDIPAPI GdipSetLineBlend(GpLineGradient *brush,
|
||||||
GpStatus WINGDIPAPI GdipSetLineGammaCorrection(GpLineGradient *line,
|
GpStatus WINGDIPAPI GdipSetLineGammaCorrection(GpLineGradient *line,
|
||||||
BOOL usegamma)
|
BOOL usegamma)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %d)\n", line, usegamma);
|
||||||
|
|
||||||
if(!line)
|
if(!line)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -823,6 +889,8 @@ GpStatus WINGDIPAPI GdipSetLineSigmaBlend(GpLineGradient *line, REAL focus,
|
||||||
GpStatus WINGDIPAPI GdipSetLineWrapMode(GpLineGradient *line,
|
GpStatus WINGDIPAPI GdipSetLineWrapMode(GpLineGradient *line,
|
||||||
GpWrapMode wrap)
|
GpWrapMode wrap)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %d)\n", line, wrap);
|
||||||
|
|
||||||
if(!line || wrap == WrapModeClamp)
|
if(!line || wrap == WrapModeClamp)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -834,6 +902,8 @@ GpStatus WINGDIPAPI GdipSetLineWrapMode(GpLineGradient *line,
|
||||||
GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient *grad,
|
GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient *grad,
|
||||||
ARGB argb)
|
ARGB argb)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %x)\n", grad, argb);
|
||||||
|
|
||||||
if(!grad)
|
if(!grad)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -849,6 +919,8 @@ GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient *grad,
|
||||||
GpStatus WINGDIPAPI GdipSetPathGradientCenterPoint(GpPathGradient *grad,
|
GpStatus WINGDIPAPI GdipSetPathGradientCenterPoint(GpPathGradient *grad,
|
||||||
GpPointF *point)
|
GpPointF *point)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p)\n", grad, point);
|
||||||
|
|
||||||
if(!grad || !point)
|
if(!grad || !point)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -863,6 +935,8 @@ GpStatus WINGDIPAPI GdipSetPathGradientCenterPointI(GpPathGradient *grad,
|
||||||
{
|
{
|
||||||
GpPointF ptf;
|
GpPointF ptf;
|
||||||
|
|
||||||
|
TRACE("(%p, %p)\n", grad, point);
|
||||||
|
|
||||||
if(!point)
|
if(!point)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -875,6 +949,8 @@ GpStatus WINGDIPAPI GdipSetPathGradientCenterPointI(GpPathGradient *grad,
|
||||||
GpStatus WINGDIPAPI GdipSetPathGradientFocusScales(GpPathGradient *grad,
|
GpStatus WINGDIPAPI GdipSetPathGradientFocusScales(GpPathGradient *grad,
|
||||||
REAL x, REAL y)
|
REAL x, REAL y)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %.2f, %.2f)\n", grad, x, y);
|
||||||
|
|
||||||
if(!grad)
|
if(!grad)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -887,6 +963,8 @@ GpStatus WINGDIPAPI GdipSetPathGradientFocusScales(GpPathGradient *grad,
|
||||||
GpStatus WINGDIPAPI GdipSetPathGradientGammaCorrection(GpPathGradient *grad,
|
GpStatus WINGDIPAPI GdipSetPathGradientGammaCorrection(GpPathGradient *grad,
|
||||||
BOOL gamma)
|
BOOL gamma)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %d)\n", grad, gamma);
|
||||||
|
|
||||||
if(!grad)
|
if(!grad)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -927,6 +1005,8 @@ GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient
|
||||||
GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient *grad,
|
GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient *grad,
|
||||||
GpWrapMode wrap)
|
GpWrapMode wrap)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %d)\n", grad, wrap);
|
||||||
|
|
||||||
if(!grad)
|
if(!grad)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -937,6 +1017,8 @@ GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient *grad,
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill *sf, ARGB argb)
|
GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill *sf, ARGB argb)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %x)\n", sf, argb);
|
||||||
|
|
||||||
if(!sf)
|
if(!sf)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -966,6 +1048,8 @@ GpStatus WINGDIPAPI GdipSetTextureTransform(GpTexture *texture,
|
||||||
GpStatus WINGDIPAPI GdipSetLineColors(GpLineGradient *brush, ARGB color1,
|
GpStatus WINGDIPAPI GdipSetLineColors(GpLineGradient *brush, ARGB color1,
|
||||||
ARGB color2)
|
ARGB color2)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %x, %x)\n", brush, color1, color2);
|
||||||
|
|
||||||
if(!brush)
|
if(!brush)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -977,6 +1061,8 @@ GpStatus WINGDIPAPI GdipSetLineColors(GpLineGradient *brush, ARGB color1,
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipGetLineColors(GpLineGradient *brush, ARGB *colors)
|
GpStatus WINGDIPAPI GdipGetLineColors(GpLineGradient *brush, ARGB *colors)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p)\n", brush, colors);
|
||||||
|
|
||||||
if(!brush || !colors)
|
if(!brush || !colors)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -1029,6 +1115,8 @@ GpStatus WINGDIPAPI GdipTranslateLineTransform(GpLineGradient* brush,
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipGetLineRect(GpLineGradient *brush, GpRectF *rect)
|
GpStatus WINGDIPAPI GdipGetLineRect(GpLineGradient *brush, GpRectF *rect)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p)\n", brush, rect);
|
||||||
|
|
||||||
if(!brush || !rect)
|
if(!brush || !rect)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -1046,6 +1134,8 @@ GpStatus WINGDIPAPI GdipGetLineRectI(GpLineGradient *brush, GpRect *rect)
|
||||||
GpRectF rectF;
|
GpRectF rectF;
|
||||||
GpStatus ret;
|
GpStatus ret;
|
||||||
|
|
||||||
|
TRACE("(%p, %p)\n", brush, rect);
|
||||||
|
|
||||||
if(!rect)
|
if(!rect)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue