Commit Graph

  • ee5ab1813b updated for python3 compatibility Andy Port 2018-08-21 20:07:53 -0700
  • 40a515ee63 removed all np.matrix uses (deprecation) Andy Port 2018-08-21 20:05:59 -0700
  • 3d1a225503 removed future dependencies Andy Port 2018-08-21 19:36:35 -0700
  • 360d6b224c Flattening SVG groups and handling transforms (#55) Michael X. Grey 2018-08-22 08:00:29 +0700
  • fabed40122 More tweaks for compatibility Michael X. Grey 2018-08-21 18:05:01 +0800
  • 4254d38483 Try to improve compatibility Michael X. Grey 2018-08-21 17:45:33 +0800
  • bf2ebb306a Improve Python3 compatibility Michael X. Grey 2018-08-21 17:40:48 +0800
  • 46a51e9eaa Update the module name for svg_to_paths Michael X. Grey 2018-08-21 16:57:51 +0800
  • beb12e77fb Resolve merge conflicts Michael X. Grey 2018-08-14 18:39:52 +0800
  • 330065636b Add tests for parsing transforms Michael X. Grey 2018-08-14 18:30:23 +0800
  • e368389e1b Update documentation of document module Michael X. Grey 2018-08-14 17:32:23 +0800
  • cd03b2ce94 Fix add_group() and write tests for adding groups and paths Michael X. Grey 2018-08-14 17:26:30 +0800
  • 6c8bdb4eb4 Remove untested functions Michael X. Grey 2018-08-14 15:31:06 +0800
  • 0e72ac1f20 Fix the use of some numpy operations Michael X. Grey 2018-08-14 14:50:08 +0800
  • 0d6744e393 Expose the CONVERSIONS and CONVERT_ONLY_PATHS constants Michael X. Grey 2018-08-14 14:49:32 +0800
  • 7f1d183e4f Use a default width and height of 0, as dictated by SVG specs, in case width or height is missing Michael X. Grey 2018-08-14 14:46:33 +0800
  • ccc9ee6ae1 added clipping to work around floating point error in Arc._parameterize() Andy 2018-07-24 15:07:02 -0700
  • b47345da91 added clipping to work around floating point error in Arc._parameterize() Andy 2018-07-24 14:57:54 -0700
  • be946b8d92 removed Andy 2018-07-24 14:35:39 -0700
  • 2b1670460e removed build & eggs-info from git repo Andy 2018-07-24 14:34:28 -0700
  • 7fc7e45113 fixed false error raised when scipy not installed Andy 2018-07-09 21:40:00 -0400
  • 8d5023939e updated for new PyPI release 1.3.3 Andy 2018-07-06 23:04:23 -0400
  • fb916596e2 fixed scale Andy 2018-07-06 23:00:25 -0400
  • fd521748fa fixed scaled (before cleanup) Andy 2018-07-06 22:59:28 -0400
  • 17bf75b1fb better implementation of Arc.intersect(Line) Sebastian Kuzminsky 2018-06-12 11:53:08 -0600
  • 48b91d40f3 add a bunch of failing arc/line intersection tests Sebastian Kuzminsky 2018-06-12 11:52:57 -0600
  • 18e511a0b5 add Arc.point_to_t() and tests Sebastian Kuzminsky 2017-12-31 16:18:41 -0700
  • 8b318000c9 add Line.point_to_t() and tests Sebastian Kuzminsky 2017-12-31 16:10:24 -0700
  • 2cb56c50c5 added .travis.yml Andy 2018-06-10 14:57:24 -0700
  • 31a8d2ac11 rgb2hex now allows lists as input Andy 2018-06-10 14:41:27 -0700
  • 850055fa57 fixed bez2poly function Andy 2018-06-10 14:38:08 -0700
  • a2ea4a0e80 fixed path curvature Andy 2018-06-10 14:33:17 -0700
  • fd95b5609f partially fixed scale fcn and improved tests Andy 2018-06-08 22:13:18 -0700
  • 58d966cd8a
    Merge c85481b945 into f932036fb5 Anders Hoff 2018-06-02 07:50:29 +0000
  • f932036fb5 After Z, next subpath starts at same position (#53) mdejean 2018-06-02 03:49:49 -0400
  • cc9f22345a
    removed old comment to mirror new behavior Andy Port 2018-06-02 00:48:59 -0700
  • 18b1337877 renamed svg2paths module to allow imports Andy Port 2018-06-02 00:32:16 -0700
  • 55661d18a4
    Merge pull request #54 from playi/scale Andy Port 2018-05-30 21:20:22 -0700
  • 304c0bbe1d
    improved `scale` related tests Andy Port 2018-05-30 19:30:24 -0700
  • 72d7467896
    implemented (almost) full SVG scale transform functionality Andy Port 2018-05-30 19:07:58 -0700
  • ee656c7de0 refactor `scale()` and `scaled()` to `scale_uniform()` and `scaled_uniform()` Orion Elenzil 2018-05-30 10:54:56 -0700
  • acb4085fb2
    Merge pull request #58 from mxgrey/ElementTree ElementTree Andy Port 2018-05-28 21:58:24 -0700
  • 0fdaad0284 Remove unnecessary import Michael X. Grey 2018-05-29 12:54:20 +0800
  • 79ab1e6a43 Remove accidental paranthesis Michael X. Grey 2018-05-29 12:42:25 +0800
  • a3649bc51e Merging with latest upstream ElementTree branch Michael X. Grey 2018-05-29 12:33:26 +0800
  • d4ab8ad435 updated to match master Andy Port 2018-05-28 20:40:54 -0700
  • 45d3389303
    Merge pull request #57 from mathandy/master Andy Port 2018-05-28 20:25:38 -0700
  • 609cbc776a got rid of svg2path changes (reverted to master) Andy Port 2018-05-28 20:14:45 -0700
  • f966999bc5 minor docstring improvements Andy Port 2018-05-28 19:48:48 -0700
  • 6fcc71d63b minor docstring improvements Andy Port 2018-05-28 19:46:38 -0700
  • 30d511577b Updated with master Andy Port 2018-05-28 19:35:40 -0700
  • 6da601f8a7
    Merge pull request #56 from DmitryMilk/polyline-adjust-to-specification Andy Port 2018-05-28 18:50:12 -0700
  • 321e097a4e polygon/polyline parsing tests added Dmitry_Milk 2018-05-27 12:34:12 +0300
  • 2dcfa88cf2 Adjust polyline/polygon parsing to W3C specification https://www.w3.org/TR/SVG11/shapes.html#PointsBNF Dmitry_Milk 2018-05-27 11:47:44 +0300
  • ff96a37d16 Add a test for <path> elements that contain a 'transform' attribute Michael X. Grey 2018-05-25 16:50:40 +0800
  • a6ceec4f0d Return a reference to an element instead of a copied dictionary of attributes Michael X. Grey 2018-05-25 16:42:36 +0800
  • b547969846 Create a unit test for parsing SVG groups Michael X. Grey 2018-05-24 19:40:41 +0800
  • 29eb1e9364 Fix multiplication of numpy matrices -- need to use .dot() instead of operator* Michael X. Grey 2018-05-24 19:36:22 +0800
  • 0827206953
    style changes Andy Port 2018-05-22 19:59:03 -0700
  • eafe3682b9
    altered so lines aren't (much) over 79 characters Andy Port 2018-05-22 19:34:56 -0700
  • 6394415108
    minor aesthetic change Andy Port 2018-05-22 19:22:09 -0700
  • 1ba9d45b35 unit test for new scale() and scaled() path transformation. tests all current segment types, composite paths, etc Orion Elenzil 2018-05-22 15:48:45 -0700
  • d21a66aff0 add scale() for curves, and scaled() for paths Orion Elenzil 2018-05-22 12:45:04 -0700
  • 405a2b8a5b
    After Z, next subpath starts at same position mdejean 2018-05-19 19:58:10 -0400
  • 1c8ca10f73 Print out some paths to see that they're sane Michael X. Grey 2018-05-10 17:06:16 -0700
  • 457a054fb8 Improve the way the svg namespace is handled Michael X. Grey 2018-05-10 17:05:47 -0700
  • a29b392234 Debugging xml namespace behavior -- needs improvement Michael X. Grey 2018-05-10 16:45:41 -0700
  • be675f1b1c Clean up implementation of document classes Michael X. Grey 2018-05-10 12:55:19 -0700
  • f5a7fe77d1 Refactoring flatten_paths() into flatten_all_paths() Michael X. Grey 2018-05-09 17:40:49 -0700
  • 3512f86968 Beginning to write tests for groups Michael X. Grey 2018-05-09 17:39:54 -0700
  • 332e959f52 Finish implementation of flatten_paths Michael X. Grey 2018-05-08 16:52:36 -0700
  • 88e21fcbc0 Fix merge conflicts with master Michael X. Grey 2018-05-08 13:24:50 -0700
  • 70f6a78288 Implementing a depth-first flattening of groups Michael X. Grey 2018-05-08 13:22:19 -0700
  • 8a4801bcde Tweaks to transform parsing implementation Michael X. Grey 2018-05-08 11:55:37 -0700
  • 17d283abe0 Iterate on the implementation of the Document class Michael X. Grey 2018-05-07 18:31:06 -0700
  • 9370d3f5a2 Add a method to parse transform strings Michael X. Grey 2018-05-07 18:30:15 -0700
  • f2897f6b79 Make the Document class available when importing the library Michael X. Grey 2018-05-07 18:29:19 -0700
  • 1149969787
    Merge 209623bfb7 into 71b4403375 Andy Port 2018-04-23 07:12:41 +0000
  • c8d6471e30
    Merge 03d85feabe into 71b4403375 Sebastian Kuzminsky 2018-04-15 15:14:00 +0000
  • 71b4403375
    fix typo `joins_smoothl_with` Andy Port 2018-04-13 14:34:28 -0700
  • 209623bfb7
    Update path.py issue16 Andy Port 2018-04-13 12:41:43 -0700
  • c85481b945 use pretty printing in svgwrite. Anders Hoff 2018-03-04 21:13:07 +0100
  • 29a49197a7
    Merge pull request #42 from SebKuzminsky/line-line-intersect Andy Port 2018-02-27 22:38:33 -0800
  • a50c522f86
    use np.close to check to check for vanishing denom Andy Port 2018-02-27 22:38:01 -0800
  • 89d9acf06e Line.intersect(Line): fix a "miss some intersections" bug Sebastian Kuzminsky 2018-01-20 20:37:08 -0700
  • cc4573ffc7 add a failing Line.intersect(Line) test Sebastian Kuzminsky 2018-01-20 20:36:25 -0700
  • de600f9b91 rename test to make room for more Sebastian Kuzminsky 2018-01-20 20:36:06 -0700
  • 03d85feabe replace Line.point_to_t() implementation with radialrange() Sebastian Kuzminsky 2018-01-13 21:34:43 -0700
  • 675c55984f fix issue with comparisons in python3 Sebastian Kuzminsky 2018-01-13 16:25:35 -0700
  • 7c7267fd25 add an Arc.intersect(Line) test case Sebastian Kuzminsky 2018-01-08 14:26:58 -0700
  • fc34d2c4cf deal with float rounding error in Line.intersect(Line) Sebastian Kuzminsky 2018-01-06 23:15:43 -0700
  • 847b270bc2 add a failing Line.intersect(Line) test Sebastian Kuzminsky 2018-01-06 22:58:10 -0700
  • 887ec43566 fixup Arc.point_to_t() Sebastian Kuzminsky 2018-01-06 01:25:33 -0700
  • 91113dd4c6 fix some float rounding errors Sebastian Kuzminsky 2018-01-03 21:27:20 -0700
  • c1947f004a add a failing arc/line intersection test Sebastian Kuzminsky 2017-12-30 19:53:11 -0700
  • 361832af32 tests: add some arc/line intersection tests Sebastian Kuzminsky 2017-12-25 15:10:49 -0700
  • b71528cbe3 better implementation of Arc.intersect(Line), plus tests Sebastian Kuzminsky 2017-12-31 23:00:01 -0700
  • dbcc712fe1 add Arc.point_to_t() and tests Sebastian Kuzminsky 2017-12-31 16:18:41 -0700
  • 69708c0f62 add Line.point_to_t() and tests Sebastian Kuzminsky 2017-12-31 16:10:24 -0700
  • 4858cd32f5 Merge 92b1d111ad into bf95944c49 Sebastian Kuzminsky 2017-12-31 03:06:09 +0000