plug-in-applylens

Morten Eriksen

Description

Simulate an elliptical lens over the image

Help

This plug-in uses Snell's law to draw an ellipsoid lens over the image


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_FLOAT refraction Lens refraction index
PF_INT keep-surroundings Keep lens surroundings { TRUE, FALSE }
PF_INT set-background Set lens surroundings to BG value { TRUE, FALSE }
PF_INT set-transparent Set lens surroundings transparent { TRUE, FALSE }

Return

None