Ed J > Gimp-2.31 > yinyang

Download:
Gimp-2.31.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

yinyang - Render a stand-alone Yin/Yang image

SYNOPSIS ^

<Image>/File/Create/Logos/Yin-Yang...

DESCRIPTION ^

Renders a black-and-white Yin/Yang symbol optionally with "eyes" that may optionally be images.

yinyang is a Gimp plugin. It generates a Yin/Yang symbol, which is a Chinese symbol of duality. It takes as parameters (provided by the Gimp user interface) the width and height of the resulting image; a toggle to indicate if "eyes" should be inserted; a toggle to indicate if the eyes should be images that are loaded separately; the two filenames for the eyes and a toggle to indicate if anti-aliasing should be used.

The "eyes" are normally either black or white dots in the middle of the circular regions of the two halves of the Yin and Yang. If you like you can load these eyes from another image.

IDEAS ^

Here are some thoughts on how the plugin could be used:

PARAMETERS ^

  [PF_INT32, "width", "Width", 256],
  [PF_INT32, "height", "Height", 256],
  [PF_TOGGLE, 'do_eyes', "Insert eyes", 1],
  [PF_TOGGLE, 'eye_images', "Eyes are images", 0],
  [PF_FILE, 'white_eye_image', "Top eye filename", ""],
  [PF_FILE, 'black_eye_image', "Bottom eye filename", ""],
  [PF_TOGGLE, 'aa', "Anti-aliasing", 1]

HISTORY ^

 Written by Aaron Sherman, (c) 1998
   04-22-2001, peter@kirchgessner.net: fix problems with functions
               that changed number of arguments
   2004-03-29, dov@imagic.weizmann.ac.il: fixed for Gimp-2.0

AUTHOR ^

Written by Aaron Sherman <ajs@ajs.com>, (c) 1998.

DATE ^

1999b

LICENSE ^

(c) 1998, Aaron Sherman

Distributed under unknown license terms.

syntax highlighting: