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