Commit graph

61 commits

Author SHA1 Message Date
Fabien Freling 6a94c79ac2 FIll new interpolated pixels.
- Take input image in argument.
- Allow set_pixel() out of bounds, noop.
2014-06-26 23:45:02 +02:00
Fabien Freling 00543d258d Ignore PNG files. 2014-06-26 21:30:13 +02:00
Fabien Freling 52f958f40b Add sample images. 2014-06-26 21:29:32 +02:00
Fabien Freling c0ed5f1be0 Add check_90().
- Fix border.
2014-06-26 21:28:34 +02:00
Fabien Freling b666b1b4a6 Walk through src pixel in order.
- Set background to red
2014-06-26 19:18:32 +02:00
Fabien Freling ce3592e857 Fix rotation by using atan2().
- Add more check on polar conversion.
2014-06-24 19:14:59 +02:00
Fabien Freling cc7ec6fef2 Add basic support for full (broken) rotation.
- New way to compute ratio.
- Add {set,get}_pixel()
2014-06-24 00:59:04 +02:00
Fabien Freling 22546de9db Fix draw_lines for x1 = x2 and y1 = y2.
Some lines are dotted though.
2014-06-22 16:08:40 +02:00
Fabien Freling 70a828b651 Fix trigo, use double point for position. 2014-06-22 15:50:42 +02:00
Fabien Freling 8a17f7b8d8 Draw rotated outlines.
There is a bug for rotation = pi / 2
2014-06-19 00:05:49 +02:00
Fabien Freling 4bf69e8204 Initial commit 2014-06-18 08:47:10 +02:00