;; ;; This script generates a small black bar with the words "Eberly College of Science" ;; (script-fu-register "script-fu-psuMath-eberlyBar" ; func name "/Xtns/Script-Fu/PSU Math/Eberly Bar" ; menu position "Creates the eberly bar for the PSU Math Department pages"; "Ron Tapia" ; author "copyright 2003" ; copyright "Jan 26, 2003" ; creation date "" ; image that the script works on ) (define (script-fu-psuMath-eberlyBar) (let* ((image (car (gimp-image-new 200 25 RGB))) (layer (car (gimp-layer-new image 200 25 RGB_IMAGE "foobar" 100 NORMAL-MODE)))) (gimp-palette-set-background '(0 0 0)) (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 "Eberly College of Science" 0 TRUE 12 PIXELS "-adobe-helvetica-bold-r-normal-*-*-120-*-*-p-*-iso8859-1"))) (gimp-display-new image) image))