tokkee.org
Code
projects
/
inkscape.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge and cleanup of GSoC C++-ification project.
[inkscape.git]
/
share
/
extensions
/
color_negative.py
1
#!/usr/bin/env python
2
import coloreffect
3
4
class C(coloreffect.ColorEffect):
5
def colmod(self,r,g,b):
6
return '%02x%02x%02x' % (255-r,255-g,255-b)
7
8
c = C()
9
c.affect()