plug-in-tile

Spencer Kimball & Peter Mattis

Description

Create an array of copies of the image

Help

This function creates a new image with a single layer sized to the specified 'new_width' and 'new_height' parameters. The specified drawable is tiled into this layer. The new layer will have the same type as the specified drawable and the new image will have a corresponding base type.


Type

unknown

Parameters

Type Name Description
PF_INT run-mode The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }
PF_IMAGE image Input image (unused)
PF_DRAWABLE drawable Input drawable
PF_INT new-width New (tiled) image width
PF_INT new-height New (tiled) image height
PF_INT new-image Create a new image?

Return

Type Name Description
PF_IMAGE new-image Output image (-1 if new-image == FALSE)
PF_LAYER new-layer Output layer (-1 if new-image == FALSE)