annotate toolboxes/graph_visualisation/include/graphviz/textpara.h @ 0:cc4b1211e677 tip

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