summaryrefslogtreecommitdiff
path: root/gerber/render/cairo_backend.py
AgeCommit message (Collapse)AuthorFilesLines
2016-01-31Keep track of quadrant mode so we can draw full circlesGarret Fick1-0/+3
2016-01-08More stability fixes for poorly constructed filesGarret Fick1-2/+4
2015-12-30Render polygon flashesGarret Fick1-0/+16
2015-12-30First time any macro rendersGarret Fick1-0/+20
2015-12-16Fix drawing arcs. Dont crash for arcs with rectangular apertures. Fix crash ↵Garret Fick1-0/+1
with board size of zero for only one drill
2015-12-02Make the hit accessible from the drawable Hit, fix crash with cario drawing rectGarret Fick1-1/+1
2015-11-23More fixes to work with cairoGarret Fick1-9/+8
2015-11-23Render with cairo instead of cairocffi - I would like to make it use either, ↵Garret Fick1-7/+8
but for now, using the one that works with wxpython
2015-10-10Allow files to be read from strings per #37Hamilton Kibbe1-0/+6
Adds a loads() method to the top level module which generates a GerberFile or ExcellonFile from a string
2015-08-09Add support for arcs in regions.Hamilton Kibbe1-5/+17
This fixes the circular cutout issue described in #32. Regions were previously stored as a collection of points, now they are stored as a collection of line and arc primitives.
2015-07-25Fix windows permission errorHamilton Kibbe1-1/+3
per #33 the issue was trying to re-open the temporary file. it works on everything but windows. I've changed it to seek to the beginning and read from the file without re-opening, which should fix the issue.
2015-07-22Fix multiple layer issue in cairo-unification branch (see #33)Hamilton Kibbe1-10/+13
2015-07-09Fix arcs and ackground paintingPaulo Henrique Silva1-1/+5
2015-07-09Initial patch to unify our render towards cairoPaulo Henrique Silva1-37/+50
This branch allows a pure cairo based render for both PNG and SVG. Cairo backend is mostly the same but with improved support for configurable scale, orientation and inverted color drawing. API is not yet final.
2015-03-05Fix parsing for multiline ipc-d-356 recordsHamilton Kibbe1-1/+11
2015-02-20Fix arc width per comment in #12Hamilton Kibbe1-1/+1
2015-02-15Fix cairo image sizeHamilton Kibbe1-1/+8
2015-02-15Add cairo example code, and use example-generated image in readmeHamilton Kibbe1-5/+7
2015-02-13Fix rendering for line with rectangular aperture per #12. Still need to do ↵Hamilton Kibbe1-4/+9
the same for arcs.
2015-02-12Update line primitive to take aperture parameterHamilton Kibbe1-7/+13
This fixes the exception referenced in #12. Still need to add rendering code for rectangle aperture lines and arcs. Rectangle strokes will be drawn as polygons by the rendering backends.
2014-10-28Add arc rendering and testsHamilton Kibbe1-1/+19
2014-10-27Fix rendering of 0-width lines (e.g. board outlines) in SVG and Cairo rendererHamilton Kibbe1-6/+7
2014-10-26removed dead codeHamilton Kibbe1-60/+4
2014-10-26cairo workingHamilton Kibbe1-111/+102
2014-10-26cairo supportHamilton Kibbe1-0/+156