Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
gvplugin_loadimage.h
Go to the documentation of this file.
1
3/*************************************************************************
4 * Copyright (c) 2011 AT&T Intellectual Property
5 * All rights reserved. This program and the accompanying materials
6 * are made available under the terms of the Eclipse Public License v1.0
7 * which accompanies this distribution, and is available at
8 * https://www.eclipse.org/legal/epl-v10.html
9 *
10 * Contributors: Details at https://graphviz.org
11 *************************************************************************/
12
13#pragma once
14
15#include "types.h"
16#include "gvplugin.h"
17#include "gvcjob.h"
18#include <stdbool.h>
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
25
26#ifdef GVDLL
27#ifdef GVC_EXPORTS
28#define GVPLUGIN_LOADIMAGE_API __declspec(dllexport)
29#else
30#define GVPLUGIN_LOADIMAGE_API __declspec(dllimport)
31#endif
32#endif
33
34#ifndef GVPLUGIN_LOADIMAGE_API
35#define GVPLUGIN_LOADIMAGE_API /* nothing */
36#endif
37
39
42
43GVPLUGIN_LOADIMAGE_API bool gvusershape_file_access(usershape_t *us);
44GVPLUGIN_LOADIMAGE_API void gvusershape_file_release(usershape_t *us);
45
47 void (*loadimage) (GVJ_t *job, usershape_t *us, boxf b, bool filled);
48 };
49
51
52#undef GVPLUGIN_LOADIMAGE_API
53
54#ifdef __cplusplus
55}
56#endif
void gvusershape_file_release(usershape_t *us)
bool gvusershape_file_access(usershape_t *us)
Definition geom.h:41
void(* loadimage)(GVJ_t *job, usershape_t *us, boxf b, bool filled)
graphs, nodes and edges info: Agraphinfo_t, Agnodeinfo_t and Agedgeinfo_t