Mercurial > hg > camir-aes2014
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/toolboxes/graph_visualisation/include/graphviz/textpara.h Tue Feb 10 15:05:51 2015 +0000 @@ -0,0 +1,49 @@ +/* $Id: textpara.h,v 1.13 2009/06/03 01:10:52 ellson Exp $ $Revision: 1.13 $ */ +/* vim:set shiftwidth=4 ts=8: */ + +/********************************************************** +* This software is part of the graphviz package * +* http://www.graphviz.org/ * +* * +* Copyright (c) 1994-2004 AT&T Corp. * +* and is licensed under the * +* Common Public License, Version 1.0 * +* by AT&T Corp. * +* * +* Information and Software Systems Research * +* AT&T Research, Florham Park NJ * +**********************************************************/ + +#ifndef TEXTPARA_H +#define TEXTPARA_H + +#ifdef __cplusplus +extern "C" { +#endif + + typedef struct _PostscriptAlias { + char* name; + char* family; + char* weight; + char* stretch; + char* style; + int xfig_code; + char* svg_font_family; + char* svg_font_weight; + char* svg_font_style; + } PostscriptAlias; + + typedef struct textpara_t { + char *str; /* stored in utf-8 */ + char *fontname; + PostscriptAlias *postscript_alias; + void *layout; + void (*free_layout) (void *layout); /* FIXME - this is ugly */ + double fontsize, width, height, yoffset_layout, yoffset_centerline; + char just; /* 'l' 'n' 'r' */ + } textpara_t; + +#ifdef __cplusplus +} +#endif +#endif