* draw.c: Fix a few minor cairo rendering issues: 1) fix rendering of
commit586daed4106639f5ba768cae3ad0a42309ecc1ac
authorJulian Lamb <thepurlieu@gmail.com>
Sat, 12 Jan 2008 19:41:17 +0000 (12 19:41 +0000)
committerJulian Lamb <thepurlieu@gmail.com>
Sat, 12 Jan 2008 19:41:17 +0000 (12 19:41 +0000)
tree909bade6033be7e2d82836b0f031ed2a6f4d564c
parent4f0916ffca6d442309299f7b9bf12993319924e1
* draw.c: Fix a few minor cairo rendering issues: 1) fix rendering of
  circular interpolation within a polygon fill. 2) Fix rendering of
  flashed polygon apertures with holes in them.
* tests/inputs: Add 8 new test files to test out aperture drawing, and 1
  to test polygon fills.
* tests/golden/*: Update all golden files in preparation for 2.0 release.
  20 tests were failing for a variety of reasons.  Most were due to the
  recent disabling of anti-aliasing on polygon fills, which causes very
  small changes to the rendering of the polygon borders. The remainder
  of the failings were due to spurious lines previously being drawn on
  flashed apertures with holes (noticed by Stefan), which has now been
  fixed.
94 files changed:
ChangeLog
src/draw.c
test/golden/Makefile.am
test/golden/example_am_test.png
test/golden/example_cslk.png
test/golden/example_dan_top.png
test/golden/example_dan_top_sr.png
test/golden/example_eaglecad1.png
test/golden/example_ekf2_d1.png
test/golden/example_ekf2_drill0.png
test/golden/example_ekf2_drill1.png
test/golden/example_ekf2_drill20.png
test/golden/example_ekf2_drill30.png
test/golden/example_ekf2_gnd.png
test/golden/example_ekf2_l0.png
test/golden/example_ekf2_l1.png
test/golden/example_ekf2_l2.png
test/golden/example_ekf2_l3.png
test/golden/example_ekf2_l4.png
test/golden/example_ekf2_l5.png
test/golden/example_ekf2_pow.png
test/golden/example_ekf2_pow3.png
test/golden/example_ekf2_resplan.png
test/golden/example_ekf2_sieb0.png
test/golden/example_ekf2_sieb1.png
test/golden/example_ekf2_stp0.png
test/golden/example_ekf2_stp1.png
test/golden/example_exposure.png
test/golden/example_jj_l1-1.png
test/golden/example_jj_l1-2.png
test/golden/example_jj_l1-3.png
test/golden/example_jj_l1-orig.png
test/golden/example_mentor_boardstation.png
test/golden/example_nollezappare_EtchLayer2Bottom..png
test/golden/example_nollezappare_ThruHolePlated.png
test/golden/example_numpres_numpres.pcb.output_group1.png
test/golden/example_numpres_numpres.pcb.output_group2.png
test/golden/example_numpres_numpres.pcb.output_plated-drill.png
test/golden/example_numpres_numpres.pcb.output_soldermask.png
test/golden/example_numpres_numpres.pcb.output_unplated-drill.png
test/golden/example_numpres_numpres_pcb_output_componentmask.png
test/golden/example_numpres_numpres_pcb_output_componentsilk.png
test/golden/example_orcad_rs232_cm_asb.png
test/golden/example_orcad_rs232_cm_ast.png
test/golden/example_orcad_rs232_cm_bot.png
test/golden/example_orcad_rs232_cm_drd.png
test/golden/example_orcad_rs232_cm_smb.png
test/golden/example_orcad_rs232_cm_smt.png
test/golden/example_orcad_rs232_cm_ssb.png
test/golden/example_orcad_rs232_cm_sst.png
test/golden/example_orcad_rs232_cm_top.png
test/golden/example_orcad_thruhole_tap.png
test/golden/example_pick_and_place_LED.png
test/golden/example_polarity_6_vbat.png
test/golden/example_thermal_bpB.png
test/golden/example_thermal_dsp.png
test/golden/example_trailing_cd1r2.1_sieb0.png
test/golden/example_trailing_cd1r2.1_sieb1.png
test/golden/test-aperture-circle-1.png [new file with mode: 0644]
test/golden/test-aperture-circle-flash-1.png [new file with mode: 0644]
test/golden/test-aperture-obround-1.png [new file with mode: 0644]
test/golden/test-aperture-obround-flash-1.png [new file with mode: 0644]
test/golden/test-aperture-polygon-1.png [new file with mode: 0644]
test/golden/test-aperture-polygon-flash-1.png [new file with mode: 0644]
test/golden/test-aperture-rectangle-1.png [new file with mode: 0644]
test/golden/test-aperture-rectangle-flash-1.png [new file with mode: 0644]
test/golden/test-image-justify-1.png
test/golden/test-image-justify-2.png
test/golden/test-image-offset-1.png
test/golden/test-image-offset-2.png
test/golden/test-image-polarity-1.png
test/golden/test-image-rotation-1.png
test/golden/test-include-file-1.png
test/golden/test-layer-axis-select-1.png
test/golden/test-layer-knockout-1.png
test/golden/test-layer-knockout-2.png
test/golden/test-layer-mirror-image-1.png
test/golden/test-layer-mode-1.png
test/golden/test-layer-offset-1.png
test/golden/test-layer-rotation-1.png
test/golden/test-layer-scale-factor-1.png
test/golden/test-layer-step-and_repeat-1.png
test/golden/test-polygon-fill-1.png [new file with mode: 0644]
test/inputs/Makefile.am
test/inputs/test-aperture-circle-1.gbx [new file with mode: 0644]
test/inputs/test-aperture-circle-flash-1.gbx [new file with mode: 0644]
test/inputs/test-aperture-obround-1.gbx [new file with mode: 0644]
test/inputs/test-aperture-obround-flash-1.gbx [new file with mode: 0644]
test/inputs/test-aperture-polygon-1.gbx [new file with mode: 0644]
test/inputs/test-aperture-polygon-flash-1.gbx [new file with mode: 0644]
test/inputs/test-aperture-rectangle-1.gbx [new file with mode: 0644]
test/inputs/test-aperture-rectangle-flash-1.gbx [new file with mode: 0644]
test/inputs/test-polygon-fill-1.gbx [new file with mode: 0644]
test/tests.list