Graphviz
2.41.20171026.1811
|
#include "config.h"
#include <stdlib.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <fcntl.h>
#include "gvplugin_render.h"
#include "gvplugin_device.h"
#include "gvcint.h"
#include "gd.h"
Go to the source code of this file.
Macros | |
#define | INT32_MAX (2147483647) |
#define | UINT32_MAX (4294967295U) |
#define | BEZIERSUBDIVISION 10 |
#define | GD_XYMAX INT32_MAX |
#define | FONTSIZE_MUCH_TOO_SMALL 0.15 |
#define | FONTSIZE_TOO_SMALL 1.5 |
#define | GD_IMPORT extern |
Functions | |
boolean | mapbool (char *) |
pointf | Bezier (pointf *V, int degree, double t, pointf *Left, pointf *Right) |
int | gvdevice_gd_putBuf (gdIOCtx *context, const void *buffer, int len) |
void | gvdevice_gd_putC (gdIOCtx *context, int C) |
void | gdgen_text (gdImagePtr im, pointf spf, pointf epf, int fontcolor, double fontsize, int fontdpi, double fontangle, char *fontname, char *str) |
char * | gd_psfontResolve (PostscriptAlias *pa) |
Variables | |
GD_IMPORT gdFontPtr | gdFontTiny |
GD_IMPORT gdFontPtr | gdFontSmall |
GD_IMPORT gdFontPtr | gdFontMediumBold |
GD_IMPORT gdFontPtr | gdFontLarge |
GD_IMPORT gdFontPtr | gdFontGiant |
gvplugin_installed_t | gvrender_gd_types [] |
gvplugin_installed_t | gvdevice_gd_types2 [] |
#define BEZIERSUBDIVISION 10 |
Definition at line 48 of file gvrender_gd.c.
#define FONTSIZE_MUCH_TOO_SMALL 0.15 |
Definition at line 287 of file gvrender_gd.c.
Referenced by gdgen_text().
#define FONTSIZE_TOO_SMALL 1.5 |
Definition at line 289 of file gvrender_gd.c.
Referenced by gdgen_text().
#define GD_IMPORT extern |
Definition at line 294 of file gvrender_gd.c.
#define GD_XYMAX INT32_MAX |
Definition at line 74 of file gvrender_gd.c.
#define INT32_MAX (2147483647) |
Definition at line 28 of file gvrender_gd.c.
#define UINT32_MAX (4294967295U) |
Definition at line 31 of file gvrender_gd.c.
enum format_type |
Definition at line 35 of file gvrender_gd.c.
Definition at line 221 of file utils.c.
References NULL, W_DEGREE, pointf_s::x, and pointf_s::y.
Referenced by bezier_clip(), dotneato_closest(), place_portlabel(), spline_at_y(), and update_bb_bz().
char* gd_psfontResolve | ( | PostscriptAlias * | pa | ) |
void gdgen_text | ( | gdImagePtr | im, |
pointf | spf, | ||
pointf | epf, | ||
int | fontcolor, | ||
double | fontsize, | ||
int | fontdpi, | ||
double | fontangle, | ||
char * | fontname, | ||
char * | str | ||
) |
Definition at line 298 of file gvrender_gd.c.
References FONTSIZE_MUCH_TOO_SMALL, FONTSIZE_TOO_SMALL, PF2P, point::x, and point::y.
Definition at line 21 of file gvdevice_gd.c.
References gvwrite().
void gvdevice_gd_putC | ( | gdIOCtx * | context, |
int | C | ||
) |
Definition at line 27 of file gvdevice_gd.c.
boolean mapbool | ( | char * | ) |
Definition at line 472 of file utils.c.
References FALSE, and mapBool().
Referenced by circularLayout(), common_init_edge(), dot_mincross(), graph_init(), late_bool(), nonconstraint_edge(), and user_pos().
GD_IMPORT gdFontPtr gdFontGiant |
Definition at line 296 of file gvrender_gd.c.
GD_IMPORT gdFontPtr gdFontLarge |
Definition at line 296 of file gvrender_gd.c.
GD_IMPORT gdFontPtr gdFontMediumBold |
Definition at line 296 of file gvrender_gd.c.
GD_IMPORT gdFontPtr gdFontSmall |
Definition at line 296 of file gvrender_gd.c.
GD_IMPORT gdFontPtr gdFontTiny |
Definition at line 296 of file gvrender_gd.c.
gvplugin_installed_t gvdevice_gd_types2[] |
Definition at line 669 of file gvrender_gd.c.
gvplugin_installed_t gvrender_gd_types[] |
Definition at line 664 of file gvrender_gd.c.