GimpText-compat

GimpText-compat

Synopsis

GimpLayer *         text_render                         (GimpImage *image,
                                                         GimpDrawable *drawable,
                                                         GimpContext *context,
                                                         gint text_x,
                                                         gint text_y,
                                                         const gchar *fontname,
                                                         const gchar *text,
                                                         gint border,
                                                         gboolean antialias);
gboolean            text_get_extents                    (const gchar *fontname,
                                                         const gchar *text,
                                                         gint *width,
                                                         gint *height,
                                                         gint *ascent,
                                                         gint *descent);

Description

Details

text_render ()

GimpLayer *         text_render                         (GimpImage *image,
                                                         GimpDrawable *drawable,
                                                         GimpContext *context,
                                                         gint text_x,
                                                         gint text_y,
                                                         const gchar *fontname,
                                                         const gchar *text,
                                                         gint border,
                                                         gboolean antialias);


text_get_extents ()

gboolean            text_get_extents                    (const gchar *fontname,
                                                         const gchar *text,
                                                         gint *width,
                                                         gint *height,
                                                         gint *ascent,
                                                         gint *descent);