gdiplus: Add traces to unimplemented functions in brush.c.
This commit is contained in:
parent
7ded3d83c6
commit
d49510e7f0
|
@ -1160,6 +1160,8 @@ GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount(GpPathGradient
|
||||||
{
|
{
|
||||||
static int calls;
|
static int calls;
|
||||||
|
|
||||||
|
TRACE("(%p,%p,%p)\n", grad, argb, count);
|
||||||
|
|
||||||
if(!grad || !argb || !count || (*count < grad->pathdata.Count))
|
if(!grad || !argb || !count || (*count < grad->pathdata.Count))
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -1415,6 +1417,8 @@ GpStatus WINGDIPAPI GdipSetPathGradientBlend(GpPathGradient *brush, GDIPCONST RE
|
||||||
{
|
{
|
||||||
static int calls;
|
static int calls;
|
||||||
|
|
||||||
|
TRACE("(%p,%p,%p,%i)\n", brush, blend, pos, count);
|
||||||
|
|
||||||
if(!(calls++))
|
if(!(calls++))
|
||||||
FIXME("not implemented\n");
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
@ -1507,6 +1511,8 @@ GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient *grad,
|
||||||
{
|
{
|
||||||
static int calls;
|
static int calls;
|
||||||
|
|
||||||
|
TRACE("(%p,%0.2f,%0.2f)\n", grad, focus, scale);
|
||||||
|
|
||||||
if(!grad || focus < 0.0 || focus > 1.0 || scale < 0.0 || scale > 1.0)
|
if(!grad || focus < 0.0 || focus > 1.0 || scale < 0.0 || scale > 1.0)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -1521,6 +1527,8 @@ GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient
|
||||||
{
|
{
|
||||||
static int calls;
|
static int calls;
|
||||||
|
|
||||||
|
TRACE("(%p,%p,%p)\n", grad, argb, count);
|
||||||
|
|
||||||
if(!grad || !argb || !count || (*count <= 0) ||
|
if(!grad || !argb || !count || (*count <= 0) ||
|
||||||
(*count > grad->pathdata.Count))
|
(*count > grad->pathdata.Count))
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
@ -1734,6 +1742,8 @@ GpStatus WINGDIPAPI GdipResetLineTransform(GpLineGradient *brush)
|
||||||
{
|
{
|
||||||
static int calls;
|
static int calls;
|
||||||
|
|
||||||
|
TRACE("(%p)\n", brush);
|
||||||
|
|
||||||
if(!(calls++))
|
if(!(calls++))
|
||||||
FIXME("not implemented\n");
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
@ -1745,6 +1755,8 @@ GpStatus WINGDIPAPI GdipSetLineTransform(GpLineGradient *brush,
|
||||||
{
|
{
|
||||||
static int calls;
|
static int calls;
|
||||||
|
|
||||||
|
TRACE("(%p,%p)\n", brush, matrix);
|
||||||
|
|
||||||
if(!(calls++))
|
if(!(calls++))
|
||||||
FIXME("not implemented\n");
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
@ -1756,6 +1768,8 @@ GpStatus WINGDIPAPI GdipScaleLineTransform(GpLineGradient *brush, REAL sx, REAL
|
||||||
{
|
{
|
||||||
static int calls;
|
static int calls;
|
||||||
|
|
||||||
|
TRACE("(%p,%0.2f,%0.2f,%u)\n", brush, sx, sy, order);
|
||||||
|
|
||||||
if(!(calls++))
|
if(!(calls++))
|
||||||
FIXME("not implemented\n");
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
@ -1823,6 +1837,8 @@ GpStatus WINGDIPAPI GdipRotateLineTransform(GpLineGradient* brush,
|
||||||
{
|
{
|
||||||
static int calls;
|
static int calls;
|
||||||
|
|
||||||
|
TRACE("(%p,%0.2f,%u)\n", brush, angle, order);
|
||||||
|
|
||||||
if(!brush)
|
if(!brush)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue