gimp/app/text
Ell c83f0e88af app: add virtual transform/type-conversion functions to GimpLayer
The GimpLayer implementation of the GimpItem transform functions,
and the GimpDrawable convert_type() function, apply their operation
to both the layer and its mask.  The subclasses of GimpLayer --
GimpGroupLayer and GimpTextLayer -- override some of these
functions, providing their own logic for the layer part, and
duplicating the mask part.

Avoid this duplication by adding a set of virtual transform and
type-conversion functions to GimpLayer.  Have the GimpLayer
implementaion of the corresponding GimpItem and GimpDrawable
functions use these functions to apply the operation to the layer,
while taking care of the mask themselves.  Have GimpLayer's
subclasses override the new virtual functions, instead of the
GimpItem and GimpDrawable ones.

Note that the existing implementation of convert_type() in
GimpTextLayer neglected to convert the mask, hence text layer masks
retained their old format after conversion.  This issue is fixed as
a side effect of this commit.
2017-06-17 13:42:41 -04:00
..
.gitignore Added .gitignore files generated with git svn create-ignore. 2009-01-31 11:37:44 +00:00
Makefile.am enums: don't use comments in generated enum recipes 2017-06-02 11:15:43 -04:00
gimp-fonts.c app: gimp_fonts_exit() don't disconnect from a NULL gimp->config 2016-09-13 12:24:15 +02:00
gimp-fonts.h app: create members of the Gimp instance earlier 2016-09-13 09:47:27 +02:00
gimpfont.c app, libgimp*, plug-ins, icons: revert icon names into freedesktop... 2016-09-03 15:49:29 +02:00
gimpfont.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimpfontlist.c Bug 751836: font alias "sans" deprecated in fontconfig… 2015-07-12 14:07:04 +02:00
gimpfontlist.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimptext-compat.c app: rename more stuff from "floating sel" to "floating selection" 2016-05-20 16:46:26 +02:00
gimptext-compat.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimptext-parasite.c libgimpcolor: add GdkPixbuf <-> GeglBuffer utility functions 2012-05-03 03:37:20 +02:00
gimptext-parasite.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimptext-vectors.c Bug 662787 - Segfaults when trying to set a large text size 2013-10-24 20:23:51 +13:00
gimptext-vectors.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimptext-xlfd.c app,libgimp*: fix includes to follow our include policy 2013-10-15 01:58:39 +02:00
gimptext-xlfd.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimptext.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimptext.h app: don't include individual files from libgimp* 2011-04-28 14:23:33 +02:00
gimptextlayer-transform.c app,libgimp*: fix includes to follow our include policy 2013-10-15 01:58:39 +02:00
gimptextlayer-transform.h app, pdb, libgimp: Remove all traces of the supersampling recursion level 2013-05-31 01:15:32 +02:00
gimptextlayer-xcf.c app: set the complete layer mode in gimp_text_layer_from_layer() 2017-02-22 00:59:23 +01:00
gimptextlayer-xcf.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimptextlayer.c app: add virtual transform/type-conversion functions to GimpLayer 2017-06-17 13:42:41 -04:00
gimptextlayer.h Bug 352823 - Changing image mode discards text layer information 2012-11-10 18:56:44 +01:00
gimptextlayout-render.c Bug 726495 - "Text to path" delivers a path offset from the text 2014-04-11 16:56:29 +02:00
gimptextlayout-render.h app: take the rendering direction into account when adjusting the x-offset 2010-02-21 17:47:21 +01:00
gimptextlayout.c Bug 774383 - Text layer created by gimp-text-fontname doesn't... 2016-11-15 13:23:00 +01:00
gimptextlayout.h Bug 662787 - Segfaults when trying to set a large text size 2013-10-24 20:23:51 +13:00
gimptextundo.c app, pdb: use GeglDitherMethod instead of simply an integer 2016-11-07 20:41:39 +01:00
gimptextundo.h Bug 352823 - Changing image mode discards text layer information 2012-11-10 18:56:44 +01:00
text-enums.c enums: generate enum files in source dir 2017-05-06 17:26:16 -04:00
text-enums.h app: remove /*< skip >*/ and /*< pdb-skip >*/ annotations from enums 2016-01-07 17:44:46 +01:00
text-types.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00