#include "config.h"
#include <stdlib.h>
#include <common/types.h>
#include <common/utils.h>
#include <gvc/gvplugin_render.h>
#include <gvc/gvplugin_device.h>
#include <gvc/gvio.h>
#include <util/unreachable.h>
Go to the source code of this file.
|
static void | xml_url_puts (GVJ_t *job, const char *s) |
|
static void | map_output_shape (GVJ_t *job, map_shape_t map_shape, pointf *AF, size_t nump, char *url, char *tooltip, char *target, char *id) |
|
static void | map_begin_page (GVJ_t *job) |
|
static void | map_end_page (GVJ_t *job) |
|
static void | map_begin_anchor (GVJ_t *job, char *url, char *tooltip, char *target, char *id) |
|
◆ format_type
Enumerator |
---|
FORMAT_IMAP | |
FORMAT_ISMAP | |
FORMAT_CMAP | |
FORMAT_CMAPX | |
Definition at line 22 of file gvrender_core_map.c.
◆ map_begin_anchor()
static void map_begin_anchor |
( |
GVJ_t * |
job, |
|
|
char * |
url, |
|
|
char * |
tooltip, |
|
|
char * |
target, |
|
|
char * |
id |
|
) |
| |
|
static |
◆ map_begin_page()
static void map_begin_page |
( |
GVJ_t * |
job | ) |
|
|
static |
Definition at line 135 of file gvrender_core_map.c.
References agnameof(), FORMAT_CMAPX, FORMAT_IMAP, FORMAT_ISMAP, obj_state_s::g, gvputs(), gvputs_xml(), gvplugin_active_render_s::id, GVJ_s::obj, GVJ_s::render, obj_state_s::u, and obj_state_s::url.
◆ map_end_page()
static void map_end_page |
( |
GVJ_t * |
job | ) |
|
|
static |
Definition at line 169 of file gvrender_core_map.c.
References FORMAT_CMAP, FORMAT_CMAPX, gvputs(), gvplugin_active_render_s::id, obj_state_s::id, map_output_shape(), GVJ_s::obj, GVJ_s::render, obj_state_s::target, obj_state_s::tooltip, obj_state_s::url, obj_state_s::url_map_n, obj_state_s::url_map_p, and obj_state_s::url_map_shape.
◆ map_output_shape()
static void map_output_shape |
( |
GVJ_t * |
job, |
|
|
map_shape_t |
map_shape, |
|
|
pointf * |
AF, |
|
|
size_t |
nump, |
|
|
char * |
url, |
|
|
char * |
tooltip, |
|
|
char * |
target, |
|
|
char * |
id |
|
) |
| |
|
static |
Definition at line 30 of file gvrender_core_map.c.
References FORMAT_CMAP, FORMAT_CMAPX, FORMAT_IMAP, FORMAT_ISMAP, gvprintf(), gvputs(), gvputs_xml(), gvplugin_active_render_s::id, MAP_CIRCLE, MAP_POLYGON, MAP_RECTANGLE, GVJ_s::render, UNREACHABLE, and xml_url_puts().
Referenced by map_begin_anchor(), and map_end_page().
◆ xml_url_puts()
static void xml_url_puts |
( |
GVJ_t * |
job, |
|
|
const char * |
s |
|
) |
| |
|
static |
◆ device_features_map
Initial value:= {
{0.,0.},
{0.,0.},
{96.,96.},
}
#define GVRENDER_DOES_MAP_POLYGON
#define GVRENDER_DOES_MAP_CIRCLE
Definition at line 246 of file gvrender_core_map.c.
◆ device_features_map_nopoly
◆ gvdevice_map_types
Initial value:= {
}
static gvdevice_features_t device_features_map_nopoly
static gvdevice_features_t device_features_map
Definition at line 266 of file gvrender_core_map.c.
◆ gvrender_map_types
Initial value:= {
}
static gvrender_engine_t map_engine
static gvrender_features_t render_features_map
Definition at line 261 of file gvrender_core_map.c.
◆ map_engine
◆ render_features_map
Initial value:= {
4.,
0,
0,
}
#define EMIT_CLUSTERS_LAST
#define GVRENDER_DOES_TOOLTIPS
#define GVRENDER_DOES_LABELS
#define GVRENDER_DOES_MAPS
#define GVRENDER_DOES_TARGETS
#define GVRENDER_Y_GOES_DOWN
#define GVRENDER_DOES_MAP_RECTANGLE
Definition at line 232 of file gvrender_core_map.c.