extern gvplugin_installed_t gvdevice_svg_types[];
extern gvplugin_installed_t gvdevice_tk_types[];
extern gvplugin_installed_t gvdevice_vml_types[];
+extern gvplugin_installed_t gvdevice_pic_types[];
extern gvplugin_installed_t gvdevice_pov_types[];
extern gvplugin_installed_t gvrender_dot_types[];
extern gvplugin_installed_t gvrender_svg_types[];
extern gvplugin_installed_t gvrender_tk_types[];
extern gvplugin_installed_t gvrender_vml_types[];
+extern gvplugin_installed_t gvrender_pic_types[];
extern gvplugin_installed_t gvrender_pov_types[];
extern gvplugin_installed_t gvloadimage_core_types[];
{API_device, gvdevice_svg_types},
{API_device, gvdevice_tk_types},
{API_device, gvdevice_vml_types},
+ {API_device, gvdevice_pic_types},
{API_device, gvdevice_pov_types},
{API_render, gvrender_dot_types},
{API_render, gvrender_svg_types},
{API_render, gvrender_tk_types},
{API_render, gvrender_vml_types},
+ {API_render, gvrender_pic_types},
{API_render, gvrender_pov_types},
{API_loadimage, gvloadimage_core_types},
#include "config.h"
#endif
-#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
+#include <stdarg.h>
#include <ctype.h>
-#include "macros.h"
-#include "const.h"
-
-#include "gvio.h"
#include "gvplugin_render.h"
#include "gvplugin_device.h"
+#include "gvio.h"
#include "agxbuf.h"
#include "utils.h"
#include "color.h"
+#include "const.h"
+
/* Number of points to split splines into */
#define BEZIERSUBDIVISION 6
fontinfo *p;
for (p = fonttab; p->psname; p++)
- if (streq(p->psname, psname))
+ if (strcmp(p->psname, psname) == 0)
break;
if (p->psname)
rv = p->trname;
gvprintf(job, "%s Creator: %s version %s (%s)\n",
EscComment, job->common->info[0], job->common->info[1], job->common->info[2]);
- gvprintf(job, "%s Title: %s\n", EscComment, obj->u.g->name);
+ gvprintf(job, "%s Title: %s\n", EscComment, agnameof(obj->u.g));
gvprintf(job,
"%s save point size and font\n.nr .S \\n(.s\n.nr DF \\n(.f\n",
EscComment);