summaryrefslogtreecommitdiff
path: root/examples
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
parentb3e816466c9cd514854efd42803cb4258e4956b2 (diff)
downloadgerbonara-b3e0ceb5c3ec755b09d2f005b8e3dcbed22d45a1.tar.gz
gerbonara-b3e0ceb5c3ec755b09d2f005b8e3dcbed22d45a1.tar.bz2
gerbonara-b3e0ceb5c3ec755b09d2f005b8e3dcbed22d45a1.zip
Add IPC-D-356 Netlist Parsing
Diffstat (limited to 'examples')
-rw-r--r--examples/cairo_example.pngbin2078392 -> 2125223 bytes
-rw-r--r--examples/cairo_example.py6
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/cairo_example.png b/examples/cairo_example.png
index d92865d..723faaf 100644
--- a/examples/cairo_example.png
+++ b/examples/cairo_example.png
Binary files differ
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'))