gimptextlayer_pdb.h 5.6 KB
Newer Older
1 2 3 4 5
/* LIBGIMP - The GIMP Library
 * Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
 *
 * gimptextlayer_pdb.h
 *
6
 * This library is free software: you can redistribute it and/or
7 8
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
9
 * version 3 of the License, or (at your option) any later version.
10 11 12 13 14 15 16
 *
 * 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
17
 * License along with this library.  If not, see
18
 * <https://www.gnu.org/licenses/>.
19 20 21 22
 */

/* NOTE: This file is auto-generated by pdbgen.pl */

23 24 25 26
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly."
#endif

27 28 29 30 31 32 33 34
#ifndef __GIMP_TEXT_LAYER_PDB_H__
#define __GIMP_TEXT_LAYER_PDB_H__

G_BEGIN_DECLS

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


35 36 37 38 39 40 41
GimpLayer*            gimp_text_layer_new                (GimpImage             *image,
                                                          const gchar           *text,
                                                          const gchar           *fontname,
                                                          gdouble                size,
                                                          GimpUnit               unit);
gchar*                gimp_text_layer_get_text           (GimpLayer             *layer);
gboolean              gimp_text_layer_set_text           (GimpLayer             *layer,
42
                                                          const gchar           *text);
43 44 45
gchar*                gimp_text_layer_get_markup         (GimpLayer             *layer);
gchar*                gimp_text_layer_get_font           (GimpLayer             *layer);
gboolean              gimp_text_layer_set_font           (GimpLayer             *layer,
46
                                                          const gchar           *font);
47
gdouble               gimp_text_layer_get_font_size      (GimpLayer             *layer,
48
                                                          GimpUnit              *unit);
49
gboolean              gimp_text_layer_set_font_size      (GimpLayer             *layer,
50 51
                                                          gdouble                font_size,
                                                          GimpUnit               unit);
52 53
gboolean              gimp_text_layer_get_antialias      (GimpLayer             *layer);
gboolean              gimp_text_layer_set_antialias      (GimpLayer             *layer,
54
                                                          gboolean               antialias);
55 56
GimpTextHintStyle     gimp_text_layer_get_hint_style     (GimpLayer             *layer);
gboolean              gimp_text_layer_set_hint_style     (GimpLayer             *layer,
57
                                                          GimpTextHintStyle      style);
58 59
gboolean              gimp_text_layer_get_kerning        (GimpLayer             *layer);
gboolean              gimp_text_layer_set_kerning        (GimpLayer             *layer,
60
                                                          gboolean               kerning);
61 62
gchar*                gimp_text_layer_get_language       (GimpLayer             *layer);
gboolean              gimp_text_layer_set_language       (GimpLayer             *layer,
63
                                                          const gchar           *language);
64 65
GimpTextDirection     gimp_text_layer_get_base_direction (GimpLayer             *layer);
gboolean              gimp_text_layer_set_base_direction (GimpLayer             *layer,
66
                                                          GimpTextDirection      direction);
67 68
GimpTextJustification gimp_text_layer_get_justification  (GimpLayer             *layer);
gboolean              gimp_text_layer_set_justification  (GimpLayer             *layer,
69
                                                          GimpTextJustification  justify);
70
gboolean              gimp_text_layer_get_color          (GimpLayer             *layer,
71
                                                          GimpRGB               *color);
72
gboolean              gimp_text_layer_set_color          (GimpLayer             *layer,
73
                                                          const GimpRGB         *color);
74 75
gdouble               gimp_text_layer_get_indent         (GimpLayer             *layer);
gboolean              gimp_text_layer_set_indent         (GimpLayer             *layer,
76
                                                          gdouble                indent);
77 78
gdouble               gimp_text_layer_get_line_spacing   (GimpLayer             *layer);
gboolean              gimp_text_layer_set_line_spacing   (GimpLayer             *layer,
79
                                                          gdouble                line_spacing);
80 81
gdouble               gimp_text_layer_get_letter_spacing (GimpLayer             *layer);
gboolean              gimp_text_layer_set_letter_spacing (GimpLayer             *layer,
82
                                                          gdouble                letter_spacing);
83
gboolean              gimp_text_layer_resize             (GimpLayer             *layer,
84 85 86
                                                          gdouble                width,
                                                          gdouble                height);

87 88 89 90

G_END_DECLS

#endif /* __GIMP_TEXT_LAYER_PDB_H__ */