gimp_image_get_active_channel << INDEX >>
gimp_image_get_channel_by_tattoo
gimp_image_get_active_layer (1995-1996)
- NAME
- gimp_image_get_active_layer - Returns the specified image's active layer.
- SYNOPSIS
- active_layer = gimp_image_get_active_layer (image)
- DESCRIPTION
- If there is an active layer, its ID will be returned, otherwise, -1. If a channel is currently active, then no layer will be. If a layer mask is active, then this will return the associated layer.
- INPUT ARGUMENTS
| TYPE | NAME | DESCRIPTION
|
|---|
| IMAGE | image | The image |
- RETURN VALUES
| TYPE | NAME | DESCRIPTION
|
|---|
| LAYER | active_layer | The active layer |
- SOME SYNTAX ALTERNATIVES
- active_layer = $image->get_active_layer
- AUTHOR
- Spencer Kimball & Peter Mattis
(c)1995-1996 Spencer Kimball & Peter Mattis
This page was created by gimpdoc, written by Marc Lehmann <pcg@goof.com>