gimptexttool_pdb.h 4.26 KB
Newer Older
1
/* LIBGIMP - The GIMP Library
2
 * Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
 *
 * gimptexttool_pdb.h
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

22
/* NOTE: This file is auto-generated by pdbgen.pl */
23 24 25 26

#ifndef __GIMP_TEXT_TOOL_PDB_H__
#define __GIMP_TEXT_TOOL_PDB_H__

27
G_BEGIN_DECLS
28 29 30 31

/* For information look into the C source or the html documentation */


32
gint32   gimp_text_fontname             (gint32        image_ID,
33 34 35 36 37 38 39 40 41
                                         gint32        drawable_ID,
                                         gdouble       x,
                                         gdouble       y,
                                         const gchar  *text,
                                         gint          border,
                                         gboolean      antialias,
                                         gdouble       size,
                                         GimpSizeType  size_type,
                                         const gchar  *fontname);
42
gboolean gimp_text_get_extents_fontname (const gchar  *text,
43 44 45 46 47 48 49
                                         gdouble       size,
                                         GimpSizeType  size_type,
                                         const gchar  *fontname,
                                         gint         *width,
                                         gint         *height,
                                         gint         *ascent,
                                         gint         *descent);
50
#ifndef GIMP_DISABLE_DEPRECATED
51
gint32   gimp_text                      (gint32        image_ID,
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
                                         gint32        drawable_ID,
                                         gdouble       x,
                                         gdouble       y,
                                         const gchar  *text,
                                         gint          border,
                                         gboolean      antialias,
                                         gdouble       size,
                                         GimpSizeType  size_type,
                                         const gchar  *foundry,
                                         const gchar  *family,
                                         const gchar  *weight,
                                         const gchar  *slant,
                                         const gchar  *set_width,
                                         const gchar  *spacing,
                                         const gchar  *registry,
                                         const gchar  *encoding);
68
gboolean gimp_text_get_extents          (const gchar  *text,
69 70 71 72 73 74 75 76 77 78 79 80 81 82
                                         gdouble       size,
                                         GimpSizeType  size_type,
                                         const gchar  *foundry,
                                         const gchar  *family,
                                         const gchar  *weight,
                                         const gchar  *slant,
                                         const gchar  *set_width,
                                         const gchar  *spacing,
                                         const gchar  *registry,
                                         const gchar  *encoding,
                                         gint         *width,
                                         gint         *height,
                                         gint         *ascent,
                                         gint         *descent);
83
#endif /* GIMP_DISABLE_DEPRECATED */
84 85


86
G_END_DECLS
87 88

#endif /* __GIMP_TEXT_TOOL_PDB_H__ */