break;
last_attribute=attribute;
attribute=(int) (*p++);
- if (((size_t) (mvg_info->offset+4096) > *mvg_info->extent) &&
- (CheckPrimitiveExtent(mvg_info,4096) != MagickFalse))
- q=(*mvg_info->primitive_info)+mvg_info->offset;
switch (attribute)
{
case 'a':
if (token == next_token)
ThrowPointExpectedException(token,exception);
point.x=(double) (attribute == (int) 'H' ? x: point.x+x);
+ if (((size_t) (mvg_info->offset+4096) > *mvg_info->extent) &&
+ (CheckPrimitiveExtent(mvg_info,4096) != MagickFalse))
+ q=(*mvg_info->primitive_info)+mvg_info->offset;
TracePoint(q,point);
mvg_info->offset+=q->coordinates;
q+=q->coordinates;
ThrowPointExpectedException(token,exception);
point.x=(double) (attribute == (int) 'L' ? x : point.x+x);
point.y=(double) (attribute == (int) 'L' ? y : point.y+y);
+ if (((size_t) (mvg_info->offset+4096) > *mvg_info->extent) &&
+ (CheckPrimitiveExtent(mvg_info,4096) != MagickFalse))
+ q=(*mvg_info->primitive_info)+mvg_info->offset;
TracePoint(q,point);
mvg_info->offset+=q->coordinates;
q+=q->coordinates;
if (i == 0)
start=point;
i++;
+ if (((size_t) (mvg_info->offset+4096) > *mvg_info->extent) &&
+ (CheckPrimitiveExtent(mvg_info,4096) != MagickFalse))
+ q=(*mvg_info->primitive_info)+mvg_info->offset;
TracePoint(q,point);
mvg_info->offset+=q->coordinates;
q+=q->coordinates;
if (token == next_token)
ThrowPointExpectedException(token,exception);
point.y=(double) (attribute == (int) 'V' ? y : point.y+y);
+ if (((size_t) (mvg_info->offset+4096) > *mvg_info->extent) &&
+ (CheckPrimitiveExtent(mvg_info,4096) != MagickFalse))
+ q=(*mvg_info->primitive_info)+mvg_info->offset;
TracePoint(q,point);
mvg_info->offset+=q->coordinates;
q+=q->coordinates;
Close path.
*/
point=start;
+ if (((size_t) (mvg_info->offset+4096) > *mvg_info->extent) &&
+ (CheckPrimitiveExtent(mvg_info,4096) != MagickFalse))
+ q=(*mvg_info->primitive_info)+mvg_info->offset;
TracePoint(q,point);
mvg_info->offset+=q->coordinates;
q+=q->coordinates;