Color text
[dia.git] / objects / GRAFCET / action_text_draw.h
blob846b5a2a03202f3db3bd6684e55ae3eb7e2c494a
1 /* Dia -- an diagram creation/manipulation program
2 * Copyright (C) 1998 Alexander Larsson
4 * This is code is a ripoff from lib/text.c's text_draw() routine, modified
5 * for the GRAFCET action text's strange behaviour.
6 * The variations from the original code are Copyright(C) 2000 Cyrille Chepelov
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 #ifndef __ACTION_TEXT_DRAW_H
25 #define __ACTION_TEXT_DRAW_H
27 #include "geometry.h"
28 #include "diarenderer.h"
29 #include "text.h"
31 extern void action_text_draw(Text *text, DiaRenderer *renderer);
32 extern void action_text_calc_boundingbox(Text *text, Rectangle *box);
33 extern real action_text_spacewidth(Text *text);
35 #endif /* __ACTION_TEXT_DRAW_H */