summaryrefslogtreecommitdiff
path: root/examples/cairo_example.py
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2015-02-20 22:24:34 -0500
committerHamilton Kibbe <hamilton.kibbe@gmail.com>2015-02-20 22:24:34 -0500
commitb3e0ceb5c3ec755b09d2f005b8e3dcbed22d45a1 (patch)
tree6609c493fbfa7557ebaef0c43f46c61a8b83cf87 /examples/cairo_example.py
parentb3e816466c9cd514854efd42803cb4258e4956b2 (diff)
downloadgerbonara-b3e0ceb5c3ec755b09d2f005b8e3dcbed22d45a1.tar.gz
gerbonara-b3e0ceb5c3ec755b09d2f005b8e3dcbed22d45a1.tar.bz2
gerbonara-b3e0ceb5c3ec755b09d2f005b8e3dcbed22d45a1.zip
Add IPC-D-356 Netlist Parsing
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'))