comparison toolboxes/graph_visualisation/include/graphviz/textpara.h @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e9a9cd732c1e
1 /* $Id: textpara.h,v 1.13 2009/06/03 01:10:52 ellson Exp $ $Revision: 1.13 $ */
2 /* vim:set shiftwidth=4 ts=8: */
3
4 /**********************************************************
5 * This software is part of the graphviz package *
6 * http://www.graphviz.org/ *
7 * *
8 * Copyright (c) 1994-2004 AT&T Corp. *
9 * and is licensed under the *
10 * Common Public License, Version 1.0 *
11 * by AT&T Corp. *
12 * *
13 * Information and Software Systems Research *
14 * AT&T Research, Florham Park NJ *
15 **********************************************************/
16
17 #ifndef TEXTPARA_H
18 #define TEXTPARA_H
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24 typedef struct _PostscriptAlias {
25 char* name;
26 char* family;
27 char* weight;
28 char* stretch;
29 char* style;
30 int xfig_code;
31 char* svg_font_family;
32 char* svg_font_weight;
33 char* svg_font_style;
34 } PostscriptAlias;
35
36 typedef struct textpara_t {
37 char *str; /* stored in utf-8 */
38 char *fontname;
39 PostscriptAlias *postscript_alias;
40 void *layout;
41 void (*free_layout) (void *layout); /* FIXME - this is ugly */
42 double fontsize, width, height, yoffset_layout, yoffset_centerline;
43 char just; /* 'l' 'n' 'r' */
44 } textpara_t;
45
46 #ifdef __cplusplus
47 }
48 #endif
49 #endif