;; ;; This script generates a small blue bar with the words "Mathematics Department". ;; (script-fu-register "script-fu-psuMath-mathBlueBar" ; func name "/Xtns/Script-Fu/PSU Math/Math Blue Bar" ; menu position "Creates the blank blue bar for the PSU Math Department home page"; "Ron Tapia" ; author "copyright 2003" ; copyright "Jan 26, 2003" ; creation date "" ; image that the script works on ) (define (script-fu-psuMath-mathBlueBar) (let* ((image (car (gimp-image-new 298 25 RGB))) (layer (car (gimp-layer-new image 298 25 RGB_IMAGE "foobar" 100 NORMAL-MODE)))) (gimp-palette-set-background '(7 8 90)) (gimp-palette-set-foreground '(255 255 255)) (gimp-drawable-fill layer BG-IMAGE-FILL) (gimp-image-add-layer image layer 0) (gimp-floating-sel-anchor (car (gimp-text-fontname image layer 25 8 "Mathematics Department" 0 TRUE 12 PIXELS "-adobe-helvetica-bold-r-normal-*-*-120-*-*-p-*-iso8859-1"))) (gimp-display-new image) image))