Marc Lehmann > Gimp-1.211 > glowing_steel

Download:
Gimp-1.211.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Gimp-2.31

NAME ^

glowing_steel - A logo plugin for the Gimp

SYNOPSIS ^

  <Toolbox>/Xtns/Logos/Glowing Steel
  <Image>/Filters/Render/Brushed Metal
  <Image>/Filters/Render/Highlight Edges
  <Image>/Filters/Render/Add Glow

DESCRIPTION ^

This plugin renders the given text in the given font and size in a logo style that combines the Brushed Metal effect with the Highlight Edges and Add Glow effects. The text is surfaced with brushed metal, and highlighted, and the glow is added in the background.

This plug-in also includes the effects listed above as separete tools which may be used independant of creating a logo. These tools are:

Brushed Metal

Takes length of brush strokes and angle, and renders a brushed metal surface into the target drawable.

PDB call:

  perl_fu_brushed_metal(image, drawable, length, angle)

length must be greater than 1.

Highlight Edges

Takes a number of pixels and adds a black/white highlight to the drawable. Target drawable must be an alpha layer.

PDB call:

  perl_fu_highlight_edges(image, drawable, pixels)
Add Glow

Takes a color and radius, and renders a fuzzy glow in the given color, out to the given radius behind the target drawable. This is added as a new layer, and the target drawable must be an alpha layer.

PDB call:

  perl_fu_add_glow(image, drawable, color, radius)

PARAMETERS ^

The following parameters can be set by the user (or caller) of glowing_steel:

String

The string to display

Font

The Font to render the string in.

Size

The size to use for the font. Note: if Font includes a size, it will be ignored. This is because not all fonts do include a size (e.g. True Type Fonts from the xttf server).

Passing a value less than 1 (e.g. 0) for the size will force use of the given font's size, but as noted above, this may be sub-optimal (e.g. you may not be given size choices in the font dialog).

Glow Color

The color to use for the background glow.

Background Color

The color to use for the background layer.

Glow Radius

The radius in pixels that the glow should eminate from the edge of the text.

Highlight Edges

This toggle tells glowing_steel if it should (true) or should not (false) add one-pixel black/white edge highlighting. Default is to add the highlighting.

Antialias

This toggle will turn on (true) or off (false) font antialiasing. This should only be used if you find that this plugin crashes because the font you chose could not be antialiased (the gimp will display an error suggesting that you turn off antialiasing).

PDB call:

  perl_fu_glowing_metal( string, font, size, glow_color,
        back_color, glow_radius, highlight, antialias)

AUTHOR ^

Written in 1999 (c) by Aaron Sherman <ajs@ajs.com>

BUGS ^

TBD

SEE ALSO ^

gimp, perl, Gimp: the Gimp module for perl.

syntax highlighting: