Warning, file /include/graphviz/textspan.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 
0002 
0003 
0004 
0005 
0006 
0007 
0008 
0009 
0010 
0011 
0012 
0013 
0014 
0015 
0016 
0017 
0018 #pragma once
0019 
0020 #ifdef __cplusplus
0021 extern "C" {
0022 #endif
0023 
0024 #define GV_TEXTFONT_FLAGS_WIDTH 7
0025 
0026 
0027 
0028 
0029 #define HTML_BF   (1 << 0)
0030 #define HTML_IF   (1 << 1)
0031 #define HTML_UL   (1 << 2)
0032 #define HTML_SUP  (1 << 3)
0033 #define HTML_SUB  (1 << 4)
0034 #define HTML_S    (1 << 5)
0035 #define HTML_OL   (1 << 6)
0036 
0037     typedef struct _PostscriptAlias {
0038         char* name;
0039         char* family;
0040         char* weight;
0041         char* stretch;
0042         char* style;
0043         int xfig_code;
0044     char* svg_font_family;
0045     char* svg_font_weight;
0046     char* svg_font_style;
0047     } PostscriptAlias;
0048 
0049     
0050 
0051 
0052 
0053     typedef struct {
0054     char*  name;
0055     char*  color;
0056     PostscriptAlias *postscript_alias;
0057     double size;
0058     unsigned int flags:GV_TEXTFONT_FLAGS_WIDTH; 
0059     unsigned int cnt:(sizeof(unsigned int) * 8 - GV_TEXTFONT_FLAGS_WIDTH);
0060       
0061     } textfont_t;
0062 
0063     
0064     typedef struct {
0065     char *str;      
0066     textfont_t *font;
0067     void *layout;
0068     void (*free_layout) (void *layout);   
0069     double yoffset_layout, yoffset_centerline;
0070     pointf size;
0071     char just; 
0072     } textspan_t;
0073 
0074 #ifdef __cplusplus
0075 }
0076 #endif