DrawInfo
*clone_info;
- MagickBooleanType
+ MagickStatusType
status;
PointInfo
if (status == MagickFalse)
{
clone_info=DestroyDrawInfo(clone_info);
- return(status);
+ return(MagickFalse);
}
resolution.x=96.0;
resolution.y=96.0;
if (i < (ssize_t) polygon_info->number_edges)
{
clone_info=DestroyDrawInfo(clone_info);
- return(status);
+ return(status == 0 ? MagickFalse : MagickTrue);
}
}
status=QueryColorCompliance("#00f",AllCompliance,&clone_info->stroke,
if (status == MagickFalse)
{
clone_info=DestroyDrawInfo(clone_info);
- return(status);
+ return(MagickFalse);
}
start.x=(double) (bounds.x1-mid);
start.y=(double) (bounds.y1-mid);
primitive_info[coordinates].primitive=UndefinedPrimitive;
status=DrawPrimitive(image,clone_info,primitive_info,exception);
clone_info=DestroyDrawInfo(clone_info);
- return(status);
+ return(status == 0 ? MagickFalse : MagickTrue);
}
\f
/*
{
if (extent <= (double) *mvg_info->extent)
return(MagickTrue);
- *mvg_info->primitive_info=ResizeQuantumMemory(*mvg_info->primitive_info,
- (size_t) extent,quantum);
+ *mvg_info->primitive_info=(PrimitiveInfo *) ResizeQuantumMemory(
+ *mvg_info->primitive_info,(size_t) extent,quantum);
if (*mvg_info->primitive_info != (PrimitiveInfo *) NULL)
{
*mvg_info->extent=(size_t) extent;
if (*mvg_info->primitive_info != (PrimitiveInfo *) NULL)
*mvg_info->primitive_info=(PrimitiveInfo *) RelinquishMagickMemory(
*mvg_info->primitive_info);
- *mvg_info->primitive_info=AcquireCriticalMemory(PrimitiveExtentPad*quantum);
+ *mvg_info->primitive_info=(PrimitiveInfo *) AcquireCriticalMemory(
+ PrimitiveExtentPad*quantum);
(void) memset(*mvg_info->primitive_info,0,PrimitiveExtentPad*quantum);
*mvg_info->extent=1;
return(MagickFalse);
{
status=SetImageAlphaChannel(image,OpaqueAlphaChannel,exception);
if (status == MagickFalse)
- return(status);
+ return(status == 0 ? MagickFalse : MagickTrue);
}
primitive=(char *) NULL;
if (*draw_info->primitive != '@')
gamma,
theta;
- MagickBooleanType
+ MagickStatusType
status;
PointInfo
p->primitive=primitive_info->primitive;
p--;
}
- return(status);
+ return(status == 0 ? MagickFalse : MagickTrue);
}
static MagickBooleanType TraceBezier(MVGInfo *mvg_info,
FX - value calculator.
*/
fx_info=AcquireFxInfo(property_image,pattern+3,exception);
- status=FxEvaluateChannelExpression(fx_info,DefaultChannels,0,0,&value,
- exception);
+ status=FxEvaluateChannelExpression(fx_info,CompositePixelChannel,0,0,
+ &value,exception);
fx_info=DestroyFxInfo(fx_info);
if (status != MagickFalse)
{