mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
5131a0111b
* app/procedural_db.h: #include <glib.h> * app/channel_ops.[ch]: exported OFFSET_BACKGROUND and OFFSET_TRANSPARENT as an enum * app/convert.[ch]: exported MACNUMCOLORS, theCustomPalette, convert_image, removed PDB procs * app/text_tool.[ch]: exported PIXELS and POINTS as an enum * app/convert_cmds.c * app/edit_cmds.c * app/floating_sel_cmds.c * app/gdisplay_cmds.c * app/paths_cmds.c * app/undo_cmds.c: pdbgen autogenerated files now * app/internal_procs.c: use the pdbgen register_foo functions * app/edit_cmds.h * app/floating_sel_cmds.h * app/gdisplay_cmds.h * app/paths_cmds.h * app/undo_cmds.h: removed * app/Makefile.am: reflect above changes * Makefile.am: paths.xbm->path.xbm, fix typo in EXTRA_DIST -Yosh
48 lines
1.4 KiB
C
48 lines
1.4 KiB
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program 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 General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
#ifndef __TEXT_TOOL_H__
|
|
#define __TEXT_TOOL_H__
|
|
|
|
#include "tools.h"
|
|
#include "procedural_db.h"
|
|
|
|
typedef enum {
|
|
PIXELS,
|
|
POINTS
|
|
} SizeType;
|
|
|
|
typedef struct {
|
|
int antialias;
|
|
int border;
|
|
} TextToolOptions;
|
|
|
|
|
|
Tool * tools_new_text (void);
|
|
void tools_free_text (Tool *);
|
|
|
|
|
|
/* Procedure definition and marshalling function */
|
|
extern ProcRecord text_tool_proc;
|
|
extern ProcRecord text_tool_proc_ext;
|
|
extern ProcRecord text_tool_proc_fontname;
|
|
extern ProcRecord text_tool_get_extents_proc;
|
|
extern ProcRecord text_tool_get_extents_proc_ext;
|
|
extern ProcRecord text_tool_get_extents_proc_fontname;
|
|
|
|
#endif /* __TEXT_TOOL_H__ */
|