lp:~scouring/scour/transform

Created by Louis Simard and last modified
Get this branch:
bzr branch lp:~scouring/scour/transform
Members of Scouring Pads can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Scouring Pads
Project:
Scour
Status:
Merged

Recent revisions

213. By Louis Simard <cynthia@jolteon>

Add a modulo 360 for coalesced rotate() transformation angles. This allows rotate(-300) rotate(-60) from the unit test to be correctly made into rotate(0).

Allow skewX(0), skewY(0) and rotate(0) to be deleted in 1-transformation lists.

All unit tests pass now.

212. By Louis Simard <cynthia@jolteon>

Fix a TypeError generated by Math.asin(), which doesn't accept Decimal arguments.

211. By Louis Simard <cynthia@jolteon>

scour.py: Modify optimizeTransform to remove superfluous []s and ()s.

testscour.py: Add unit tests for Johan Sundström's fix for bug 722544, "SVG transform matrix() arg order is a1 b1 a2 b2 a3 b3, not a1 a2 a3 b1 b2 b3".

unittests/: Edit the unit tests' support files not to have a second line with the correct transformation. This is customarily in testscour.py.

210. By Johan Sundström

A trig. improvement TODO I left by the wayside; Decimal seems very unhelpful here. :/

209. By Johan Sundström

Remove skewX(0) and skewY(0) too. How do they stack?

208. By Johan Sundström

Some transform test files in need of corresponding test code.

207. By Johan Sundström

Tidied up more of the transform code for readability.

206. By Johan Sundström

Fixed the transform optimizations, which were all broken (wrong arg order).

205. By Johan Sundström

Add missing trailing newlines to unit test svgs.

204. By Louis Simard <cynthia@jolteon>

Fix bug 717826, whereby newlines are output as CR CR LF by Scour on Inkscape/Windows when they should be LF or CR LF. Now they're output as CR LF, and standalone Scour outputs LF.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:scour
This branch contains Public information 
Everyone can see this information.

Subscribers