~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to plug-ins/script-fu/scripts/glowing-logo.scm

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-10-06 13:30:41 UTC
  • mto: This revision was merged to the branch mainline in revision 35.
  • Revision ID: james.westby@ubuntu.com-20081006133041-3panbkcanaymfsmp
Tags: upstream-2.6.0
ImportĀ upstreamĀ versionĀ 2.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    (gimp-context-push)
22
22
 
23
23
    (script-fu-util-image-resize-from-layer img logo-layer)
24
 
    (gimp-image-add-layer img bg-layer 1)
25
 
    (gimp-image-add-layer img glow-layer 1)
 
24
    (script-fu-util-image-add-layers img glow-layer bg-layer)
26
25
    (gimp-layer-translate glow-layer posx posy)
27
26
 
28
27
    (gimp-selection-none img)
66
65
                                      bg-color)
67
66
  (begin
68
67
    (gimp-image-undo-group-start img)
69
 
    (apply-glowing-logo-effect img logo-layer size bg-color)
 
68
    (apply-glowing-logo-effect img logo-layer (* size 3) bg-color)
70
69
    (gimp-image-undo-group-end img)
71
70
    (gimp-displays-flush)
72
71
  )
79
78
  "Spencer Kimball"
80
79
  "1997"
81
80
  "RGBA"
82
 
  SF-IMAGE      "Image"                     0
83
 
  SF-DRAWABLE   "Drawable"                  0
84
 
  SF-ADJUSTMENT _"Effect size (pixels * 3)" '(150 2 1000 1 10 0 1)
85
 
  SF-COLOR      _"Background color"         '(7 0 20)
 
81
  SF-IMAGE      "Image"                 0
 
82
  SF-DRAWABLE   "Drawable"              0
 
83
  SF-ADJUSTMENT _"Effect size (pixels)" '(50 1 500 1 10 0 1)
 
84
  SF-COLOR      _"Background color"     '(7 0 20)
86
85
)
87
86
 
88
87
(script-fu-menu-register "script-fu-glowing-logo-alpha"
119
118
)
120
119
 
121
120
(script-fu-menu-register "script-fu-glowing-logo"
122
 
                         "<Toolbox>/Xtns/Logos")
 
121
                         "<Image>/File/Create/Logos")