color space
This commit is contained in:
@@ -11,7 +11,7 @@ def rgb(r=0, g=None, b=None):
|
||||
g = r
|
||||
if b == None:
|
||||
b = r
|
||||
return "rgb(%d,%d,%d)" % (r*255, g*255, b*255)
|
||||
return "rgb(%d,%d,%d)" % (b*255, g*255, r*255)
|
||||
|
||||
#rotate round center
|
||||
def rrc(tuple, center, angle):
|
||||
|
Reference in New Issue
Block a user