#include "gvplugin_device.h"
#include "gvio.h"
-#ifdef HAVE_LIBGD
#include "gd.h"
int gvdevice_gd_putBuf (gdIOCtx *context, const void *buffer, int len)
{96.,96.}, /* dpi */
};
#endif
-#endif
gvplugin_installed_t gvdevice_gd_types[] = {
-#ifdef HAVE_LIBGD
#ifdef HAVE_PANGOCAIRO
#ifdef HAVE_GD_GIF
#endif
#endif
-#endif
#endif
{0, NULL, 0, NULL, NULL}
};
#include "gvplugin_loadimage.h"
#include "gvio.h"
-
-#ifdef HAVE_LIBGD
#include "gd.h"
typedef enum {
};
#endif
-#endif
-
gvplugin_installed_t gvloadimage_gd_types[] = {
-#ifdef HAVE_LIBGD
-
{FORMAT_GD_GD, "gd:gd", 1, &engine, NULL},
{FORMAT_GD2_GD, "gd2:gd", 1, &engine, NULL},
#ifdef HAVE_GD_GIF
{FORMAT_XBM_CAIRO, "xbm:cairo", 1, &engine_cairo, NULL},
#endif
#endif /* HAVE_PANGOCAIRO */
-
-#endif /* HAVE_LIBGD */
{0, NULL, 0, NULL, NULL}
};
#include "gvplugin_render.h"
#include "gvplugin_device.h"
#include "gvcint.h" /* for gvc->g for agget */
-
-#ifdef HAVE_LIBGD
#include "gd.h"
#ifndef INT32_MAX
{96.,96.}, /* default dpi */
};
-#endif
-
gvplugin_installed_t gvrender_gd_types[] = {
-#ifdef HAVE_LIBGD
{FORMAT_GD, "gd", 1, &gdgen_engine, &render_features_gd},
-#endif
{0, NULL, 0, NULL, NULL}
};
gvplugin_installed_t gvdevice_gd_types2[] = {
-#ifdef HAVE_LIBGD
#ifdef HAVE_GD_GIF
{FORMAT_GIF, "gif:gd", 1, NULL, &device_features_gd_tc}, /* pretend gif is truecolor because it supports transparency */
{FORMAT_WBMP, "wbmp:gd", 1, NULL, &device_features_gd},
#ifdef HAVE_GD_XPM
{FORMAT_XBM, "xbm:gd", 1, NULL, &device_features_gd},
#endif
-#endif
-
#endif
{0, NULL, 0, NULL, NULL}
};
#include "gvplugin_render.h"
#include "gvio.h"
-
-#ifdef HAVE_LIBGD
#include "gd.h"
#ifdef HAVE_GD_PNG
{72.,72.}, /* default dpi */
};
#endif /* HAVE_GD_PNG */
-#endif /* HAVE_LIBGD */
gvplugin_installed_t gvrender_vrml_types[] = {
-#ifdef HAVE_LIBGD
#ifdef HAVE_GD_PNG
{FORMAT_VRML, "vrml", 1, &vrml_engine, &render_features_vrml},
-#endif
#endif
{0, NULL, 0, NULL, NULL}
};
gvplugin_installed_t gvdevice_vrml_types[] = {
-#ifdef HAVE_LIBGD
#ifdef HAVE_GD_PNG
{FORMAT_VRML, "vrml:vrml", 1, NULL, &device_features_vrml},
-#endif
#endif
{0, NULL, 0, NULL, NULL}
};
#include <stdlib.h>
#include <string.h>
#include "gvplugin_textlayout.h"
-
-#ifdef HAVE_LIBGD
#include "gd.h"
-#if defined(HAVE_LIBGD) && defined(HAVE_GD_FREETYPE)
+#ifdef HAVE_GD_FREETYPE
/* fontsize at which text is omitted entirely */
#define FONTSIZE_MUCH_TOO_SMALL 0.15
gd_textlayout,
};
#endif
-#endif
gvplugin_installed_t gvtextlayout_gd_types[] = {
-#if defined(HAVE_LIBGD) && defined(HAVE_GD_FREETYPE)
+#ifdef HAVE_GD_FREETYPE
{0, "textlayout", 2, &gd_textlayout_engine, NULL},
#endif
{0, NULL, 0, NULL, NULL}