Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
colorprocs.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 "config.h"
16
17#include "color.h"
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23#ifdef GVDLL
24#ifdef GVC_EXPORTS
25#define COLORPROCS_API __declspec(dllexport)
26#else
27#define COLORPROCS_API __declspec(dllimport)
28#endif
29#endif
30
31#ifndef COLORPROCS_API
32#define COLORPROCS_API /* nothing */
33#endif
34
41COLORPROCS_API char *setColorScheme(const char *s);
42
43COLORPROCS_API int colorxlate(char *str, gvcolor_t * color, color_type_t target_type);
44COLORPROCS_API char *canontoken(char *str);
45
46#undef COLORPROCS_API
47
48#ifdef __cplusplus
49}
50#endif
color_type_t
Definition color.h:26
#define COLORPROCS_API
Definition colorprocs.h:32
COLORPROCS_API int colorxlate(char *str, gvcolor_t *color, color_type_t target_type)
Definition colxlate.c:217
COLORPROCS_API char * setColorScheme(const char *s)
Definition colxlate.c:414
COLORPROCS_API char * canontoken(char *str)
Definition colxlate.c:129
static void color(Agraph_t *g)
Definition gvcolor.c:128
agxbuf * str
Definition htmlparse.c:97
Definition grammar.c:93