8 #define text_ascent(font, font_height) font_ascent(font, font_height)
10 typedef struct _EMLBoxT EMLBoxT
;
11 typedef struct _EMLBox EMLBox
;
14 EMLBox
* (* const new) (real
, gchar
*, gint
, real
, real
, real
,
15 ConnectionPoint
*, ConnectionPoint
*);
16 void (* const destroy
) (EMLBox
*);
17 void (* const add_el
) (EMLBox
*, gpointer
);
18 void (* const calc_geometry
) (EMLBox
*, real
*, real
*);
19 real (* const calc_connections
) (EMLBox
*, Point
*, GList
**, real
);
20 real (* const draw
) (EMLBox
*, Renderer
*, Point
* , real
);
25 ConnectionPoint
*left_connection
;
26 ConnectionPoint
*right_connection
;
36 void emlbox_destroy(EMLBox
*);
37 void emlbox_add_el(EMLBox
*, gpointer
);
38 void emlbox_calc_geometry(EMLBox
*, real
*, real
*);
39 real
emlbox_calc_connections(EMLBox
*, Point
*, GList
**, real
);
40 real
emlbox_draw(EMLBox
*, Renderer
*, Element
*);
42 extern EMLBoxT EMLListBox
;
43 extern EMLBoxT EMLTextBox
;