mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-24 05:36:24 +00:00
7efa81d1da
2003-12-05 Michael Natterer <mitch@gimp.org> * libgimp/gimp.h * libgimp/gimpbrushmenu.h * libgimp/gimpbrushselect.[ch] * libgimp/gimpfontmenu.[ch] * libgimp/gimpfontselect.[ch] * libgimp/gimpgradientmenu.h * libgimp/gimpgradientselect.[ch] * libgimp/gimpmenu.h * libgimp/gimpmisc.[ch] * libgimp/gimpmiscui.[ch] * libgimp/gimppatternmenu.h * libgimp/gimppatternselect.[ch] * libgimp/gimppixelrgn.[ch] * libgimp/gimpproceduraldb.c * libgimp/gimpselection.c * libgimp/gimptile.h * libgimp/gimptypes.h * libgimp/gimpui.h * libgimp/gimpuitypes.h * libgimp/libgimp-intl.h * libgimp/stdplugins-intl.h * libgimpbase/gimpbase.h * libgimpbase/gimpdatafiles.c * libgimpbase/gimpenv.c * libgimpbase/gimpparasite.[ch] * libgimpbase/gimpparasiteio.[ch] * libgimpbase/gimpsignal.[ch] * libgimpbase/gimputils.c * libgimpcolor/gimpadaptivesupersample.[ch] * libgimpcolor/gimpbilinear.[ch] * libgimpmath/gimpmath.h * libgimpmath/gimpmathtypes.h * libgimpwidgets/gimpbutton.[ch] * libgimpwidgets/gimpchainbutton.h * libgimpwidgets/gimpcolorarea.[ch] * libgimpwidgets/gimpcolornotebook.h * libgimpwidgets/gimpcolorscale.[ch] * libgimpwidgets/gimpcolorscales.h * libgimpwidgets/gimpcolorselect.h * libgimpwidgets/gimpoffsetarea.h * libgimpwidgets/gimppixmap.[ch]: removed trailing whitespace.
54 lines
1.7 KiB
C
54 lines
1.7 KiB
C
/* LIBGIMP - The GIMP Library
|
|
* Copyright (C) 1995-2000 Peter Mattis and Spencer Kimball
|
|
*
|
|
* gimpselection.c
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* 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
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#include "config.h"
|
|
|
|
#include "gimp.h"
|
|
|
|
/**
|
|
* gimp_selection_float:
|
|
* @image_ID: ignored
|
|
* @drawable_ID: The drawable from which to float selection.
|
|
* @offx: x offset for translation.
|
|
* @offy: y offset for translation.
|
|
*
|
|
* Float the selection from the specified drawable with initial offsets
|
|
* as specified.
|
|
*
|
|
* This procedure determines the region of the specified drawable that
|
|
* lies beneath the current selection. The region is then cut from the
|
|
* drawable and the resulting data is made into a new layer which is
|
|
* instantiated as a floating selection. The offsets allow initial
|
|
* positioning of the new floating selection.
|
|
*
|
|
* Returns: The floated layer.
|
|
*/
|
|
gint32
|
|
gimp_selection_float (gint32 image_ID,
|
|
gint32 drawable_ID,
|
|
gint offx,
|
|
gint offy)
|
|
{
|
|
return _gimp_selection_float (drawable_ID,
|
|
offx,
|
|
offy);
|
|
}
|