~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to share/extensions/color_negative.py

  • Committer: JazzyNico
  • Date: 2011-08-29 20:25:30 UTC
  • Revision ID: nicoduf@yahoo.fr-20110829202530-6deuoz11q90usldv
Code refactoring and merging with trunk (revision 10599).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
1
2
import coloreffect
2
3
 
3
4
class C(coloreffect.ColorEffect):
5
6
    return '%02x%02x%02x' % (255-r,255-g,255-b)
6
7
 
7
8
c = C()
8
 
c.affect()
 
 
b'\\ No newline at end of file'
 
9
c.affect()