1 /* LIBGIMP - The GIMP Library
2  * Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
3  *
4  * gimptexttool_pdb.h
5  *
6  * This library is free software: you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 3 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library.  If not, see
18  * <https://www.gnu.org/licenses/>.
19  */
20 
21 /* NOTE: This file is auto-generated by pdbgen.pl */
22 
23 #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
24 #error "Only <libgimp/gimp.h> can be included directly."
25 #endif
26 
27 #ifndef __GIMP_TEXT_TOOL_PDB_H__
28 #define __GIMP_TEXT_TOOL_PDB_H__
29 
30 G_BEGIN_DECLS
31 
32 /* For information look into the C source or the html documentation */
33 
34 
35 gint32   gimp_text_fontname             (gint32        image_ID,
36                                          gint32        drawable_ID,
37                                          gdouble       x,
38                                          gdouble       y,
39                                          const gchar  *text,
40                                          gint          border,
41                                          gboolean      antialias,
42                                          gdouble       size,
43                                          GimpSizeType  size_type,
44                                          const gchar  *fontname);
45 gboolean gimp_text_get_extents_fontname (const gchar  *text,
46                                          gdouble       size,
47                                          GimpSizeType  size_type,
48                                          const gchar  *fontname,
49                                          gint         *width,
50                                          gint         *height,
51                                          gint         *ascent,
52                                          gint         *descent);
53 GIMP_DEPRECATED_FOR(gimp_text_fontname)
54 gint32   gimp_text                      (gint32        image_ID,
55                                          gint32        drawable_ID,
56                                          gdouble       x,
57                                          gdouble       y,
58                                          const gchar  *text,
59                                          gint          border,
60                                          gboolean      antialias,
61                                          gdouble       size,
62                                          GimpSizeType  size_type,
63                                          const gchar  *foundry,
64                                          const gchar  *family,
65                                          const gchar  *weight,
66                                          const gchar  *slant,
67                                          const gchar  *set_width,
68                                          const gchar  *spacing,
69                                          const gchar  *registry,
70                                          const gchar  *encoding);
71 GIMP_DEPRECATED_FOR(gimp_text_get_extents_fontname)
72 gboolean gimp_text_get_extents          (const gchar  *text,
73                                          gdouble       size,
74                                          GimpSizeType  size_type,
75                                          const gchar  *foundry,
76                                          const gchar  *family,
77                                          const gchar  *weight,
78                                          const gchar  *slant,
79                                          const gchar  *set_width,
80                                          const gchar  *spacing,
81                                          const gchar  *registry,
82                                          const gchar  *encoding,
83                                          gint         *width,
84                                          gint         *height,
85                                          gint         *ascent,
86                                          gint         *descent);
87 
88 
89 G_END_DECLS
90 
91 #endif /* __GIMP_TEXT_TOOL_PDB_H__ */
92