When the "paint" button is pressed the resultant output can look like
this:-
Painting can take full advantage of many of the GIMPs features when painting
the objects.
I have tried not to duplicated functionality that is already present
in the GIMP e.g. guides. This tool enables you to draw many regular shaped
objects. ( I originally wanted to draw a simple "pointed star" but never
managed to get it looking regular even when using guides).
Currently the following object "types" can be created and manipulated:-
-
Lines
-
Circles
-
Ellipses
-
Curves (3 points forming arc of a circle)
-
N sided regular polygon ( N>=3 ;-)
-
N pointed stars
-
Bezier curves
-
Spirals
Other features include (see README for more details):-
-
Grid display and alignment (rectangular/polar)
-
Paint objects onto original or multi layers (interesting for animations)
-
Brush fade on ALL object types (including circles + ellipses when appropriate
toggle selected)
-
Selection of brush
-
Scaling of objects (currently only objects can be scaled all at once)
-
Moving/editing/deleting objects. (Objects can be moved all at once or individually)
-
Object collection area where collections of objects can be previewed and
then edited or merged with the current drawing area.
-
Brush preview
-
Objects can be filled
-
Objects can be made into selections
-
Can paint with a pattern/airbrush/pencil
See README (included in the source distribution)
for more detailed list of features and usage instructions.
Installation.
Download the tar and gzip'ed source here.
The distribution contains one large chunk'o'c plus a header file that only
contains pixmaps (I'd be willing to change the button pixmaps if anybody
has any better ones ;-). A directory called gfig-examples is included that
has a few simple demo object collections. You don't have to install these
into your ~/.gimp/gfig/ directory just use the "Rescan" button and select
the example directory.
The README contains details of how to automatically assign directories
that Gfig searches on start-up it
required.
Patches.
(Only required for GIMP <= 0.99.14).
I have recently posted a small patch to [gimp-devel] that fixes a problem
with invoking the painting operations from a plug-in. This problem
is in all versions of the GIMP (<= 0.99.14). You can build and use the
plug-in without this patch. The README details the single line you have
to remove if you have NOT applied the patch. (The README also contains
the patch).
Problems.
I have only tested this plug-in on Linux based machines. (8 bit and 16
bit). If you have problems
on other machines please let me know.
Contact.
I would be interested to know if you find this plug-in useful.
Andy.
Email alt@picnic.demon.co.uk.