case 'c':
case 'C':
{
+ if (LocaleCompare("class",keyword) == 0)
+ {
+ /*
+ Class primitive.
+ */
+ break;
+ }
if (LocaleCompare("clip-path",keyword) == 0)
{
char
if (LocaleCompare("pop",keyword) == 0)
{
GetNextToken(q,&q,extent,token);
+ if (LocaleCompare("class",token) == 0)
+ break;
if (LocaleCompare("clip-path",token) == 0)
break;
if (LocaleCompare("defs",token) == 0)
if (LocaleCompare("push",keyword) == 0)
{
GetNextToken(q,&q,extent,token);
+ if (LocaleCompare("class",token) == 0)
+ {
+ /*
+ Class context.
+ */
+ break;
+ }
if (LocaleCompare("clip-path",token) == 0)
{
char
if (LocaleCompare("stroke-antialias",keyword) == 0)
{
GetNextToken(q,&q,extent,token);
- graphic_context[n]->stroke_antialias=
- StringToLong(token) != 0 ? MagickTrue : MagickFalse;
+ graphic_context[n]->stroke_antialias=StringToLong(token) != 0 ?
+ MagickTrue : MagickFalse;
break;
}
if (LocaleCompare("stroke-dasharray",keyword) == 0)
case 'S':
case 's':
{
- if (LocaleCompare((const char *) name,"symbol") == 0)
- {
- (void) FormatLocaleFile(svg_info->file,"push symbol\n");
- break;
- }
+ if (LocaleCompare((char *) name,"style") == 0)
+ break;
if (LocaleCompare((const char *) name,"svg") == 0)
{
svg_info->svgDepth++;
(void) FormatLocaleFile(svg_info->file,"fill-rule nonzero\n");
break;
}
+ if (LocaleCompare((const char *) name,"symbol") == 0)
+ {
+ (void) FormatLocaleFile(svg_info->file,"push symbol\n");
+ break;
+ }
break;
}
case 'T':
svg_info->stop_color,svg_info->offset);
break;
}
- if (LocaleCompare((const char *) name,"symbol") == 0)
+ if (LocaleCompare((char *) name,"style") == 0)
{
- (void) FormatLocaleFile(svg_info->file,"pop symbol\n");
+ /*
+ Find style definitions in svg_info->text.
+ */
break;
}
if (LocaleCompare((const char *) name,"svg") == 0)
svg_info->svgDepth--;
break;
}
+ if (LocaleCompare((const char *) name,"symbol") == 0)
+ {
+ (void) FormatLocaleFile(svg_info->file,"pop symbol\n");
+ break;
+ }
break;
}
case 'T':