summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2007-06-17 04:31:13 +0200
committerGuillaume Seguin <guillaume@segu.in>2007-06-17 04:31:13 +0200
commit6bad38ed5f8552cd3d17e57550482a9c3fd2cb4e (patch)
tree024c5a32c9dedd703251fcf4ca859bf5310eada9
parent1d4a10450ab740649c388d4e798427b8900e6d47 (diff)
downloadscreenshot-beautifier-master.tar.gz
screenshot-beautifier-master.tar.bz2
* Fix shadowHEADmaster
-rwxr-xr-xbeautifier.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/beautifier.py b/beautifier.py
index fbc8028..046ce74 100755
--- a/beautifier.py
+++ b/beautifier.py
@@ -102,10 +102,10 @@ def cairo_beautify (file, radius = 0.1, ratio = 1, xy = 0.0, yx = 0.1):
cr = cairo.Context (result)
cr.set_operator (cairo.OPERATOR_OVER)
# Shadows
- x0 = 0.1 * width
+ x0 = 0.11 * width
y0 = 1.09 * height
x1 = 1.09 * width
- y1 = 1.13 * height + yx * width
+ y1 = 1.12 * height + yx * width
x2 = x1 + 0.2 * width
y2 = y1 - 0.13 * height
x3 = x0 + 0.2 * width