summaryrefslogtreecommitdiff
path: root/examples/cairo_example.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cairo_example.py')
-rw-r--r--examples/cairo_example.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/cairo_example.py b/examples/cairo_example.py
index c243731..49c4d0c 100644
--- a/examples/cairo_example.py
+++ b/examples/cairo_example.py
@@ -47,14 +47,14 @@ ctx = GerberCairoContext()
copper.render(ctx)
# Set opacity and color for soldermask layer
-ctx.alpha = 0.65
+ctx.alpha = 0.6
ctx.color = (0.2, 0.2, 0.75)
# Draw the soldermask layer
mask.render(ctx)
# Set opacity and color for silkscreen layer
-ctx.alpha = 0.9
+ctx.alpha = 0.85
ctx.color = (1, 1, 1)
# Draw the silkscreen layer
@@ -65,4 +65,4 @@ ctx.alpha = 1.
drill.render(ctx)
# Write output to png file
-ctx.dump(os.path.join(os.path.dirname(__file__), 'cairo_example.png')) \ No newline at end of file
+ctx.dump(os.path.join(os.path.dirname(__file__), 'cairo_example.png'))