~ubuntu-branches/ubuntu/vivid/gimp/vivid

« back to all changes in this revision

Viewing changes to libgimp/gimpchannel.c

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach
  • Date: 2012-05-08 18:50:03 UTC
  • mto: (1.1.26) (0.5.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 71.
  • Revision ID: package-import@ubuntu.com-20120508185003-tltkvbaysf8d2426
ImportĀ upstreamĀ versionĀ 2.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *
4
4
 * gimpchannel.c
5
5
 *
6
 
 * This library is free software; you can redistribute it and/or
 
6
 * This library is free software: you can redistribute it and/or
7
7
 * modify it under the terms of the GNU Lesser General Public
8
8
 * License as published by the Free Software Foundation; either
9
 
 * version 2 of the License, or (at your option) any later version.
 
9
 * version 3 of the License, or (at your option) any later version.
10
10
 *
11
11
 * This library is distributed in the hope that it will be useful,
12
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
14
 * Library General Public License for more details.
15
15
 *
16
16
 * You should have received a copy of the GNU Lesser General Public
17
 
 * License along with this library; if not, write to the
18
 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19
 
 * Boston, MA 02111-1307, USA.
 
17
 * License along with this library.  If not, see
 
18
 * <http://www.gnu.org/licenses/>.
20
19
 */
21
20
 
22
21
#include "config.h"
38
37
 * This procedure creates a new channel with the specified width and
39
38
 * height. Name, opacity, and color are also supplied parameters. The
40
39
 * new channel still needs to be added to the image, as this is not
41
 
 * automatic. Add the new channel with the 'gimp_image_add_channel'
42
 
 * command. Other attributes such as channel show masked, should be set
43
 
 * with explicit procedure calls. The channel's contents are undefined
44
 
 * initially.
 
40
 * automatic. Add the new channel with the gimp_image_insert_channel()
 
41
 * command. Other attributes such as channel show masked, should be
 
42
 * set with explicit procedure calls. The channel's contents are
 
43
 * undefined initially.
45
44
 *
46
45
 * Returns: The newly created channel.
47
46
 */