• Ell's avatar
    app: add gimp_item_get_clip() · d5cdcc6c
    Ell authored
    Add a new GimpItem::get_clip() virtual function, and a
    corresponding gimp_item_get_clip() function, which return the
    actual clipping mode to be used when transforming (or applying a
    filter to) a given item, given the original clipping mode.  This
    applies only to whole-item transformations (i.e., when not creating
    a floating selection), and should be used by the top-level code
    applying the transformation, rather than by the actual
    transformation code, so that the item can be transformed using a
    different clipping mode internally.
    
    Provide a default implementation that simply returns the input
    clipping mode, and override for GimpChannel (to always return CLIP)
    and for GimpVecotrs (to always return ADJUST).
    d5cdcc6c
Name
Last commit
Last update
..
.gitignore Loading commit data...
Makefile.am Loading commit data...
gimpanchor.c Loading commit data...
gimpanchor.h Loading commit data...
gimpbezierstroke.c Loading commit data...
gimpbezierstroke.h Loading commit data...
gimpstroke-new.c Loading commit data...
gimpstroke-new.h Loading commit data...
gimpstroke.c Loading commit data...
gimpstroke.h Loading commit data...
gimpvectors-compat.c Loading commit data...
gimpvectors-compat.h Loading commit data...
gimpvectors-export.c Loading commit data...
gimpvectors-export.h Loading commit data...
gimpvectors-import.c Loading commit data...
gimpvectors-import.h Loading commit data...
gimpvectors-preview.c Loading commit data...
gimpvectors-preview.h Loading commit data...
gimpvectors-warp.c Loading commit data...
gimpvectors-warp.h Loading commit data...
gimpvectors.c Loading commit data...
gimpvectors.h Loading commit data...
gimpvectorsmodundo.c Loading commit data...
gimpvectorsmodundo.h Loading commit data...
gimpvectorspropundo.c Loading commit data...
gimpvectorspropundo.h Loading commit data...
gimpvectorsundo.c Loading commit data...
gimpvectorsundo.h Loading commit data...
vectors-enums.h Loading commit data...
vectors-types.h Loading commit data...