summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPaulo Henrique Silva <ph.silva@gmail.com>2015-02-21 02:48:55 -0200
committerPaulo Henrique Silva <ph.silva@gmail.com>2015-02-21 02:48:55 -0200
commitb8dcc86cb4560d033761db0ad41924f6d9669333 (patch)
tree0fbda714542e90c96f3ba9da4e9d0a70ebb37f5a /examples
parentdbe93f77e5d9630c035f204a932284372ecf124d (diff)
parentb3e0ceb5c3ec755b09d2f005b8e3dcbed22d45a1 (diff)
downloadgerbonara-b8dcc86cb4560d033761db0ad41924f6d9669333.tar.gz
gerbonara-b8dcc86cb4560d033761db0ad41924f6d9669333.tar.bz2
gerbonara-b8dcc86cb4560d033761db0ad41924f6d9669333.zip
Merge pull request #20 from curtacircuitos/ipc-d-356
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'))