Commit Graph

55 Commits (569464a575df8797e8fcf1c4412e6c4e360e1f7f)

Author SHA1 Message Date
Andy Meneely d4f0105785 Image rotation support for png and svg commands
With unit tests and other refactorings
2014-11-03 22:47:06 -05:00
Andy Meneely 20600a97e6 Rotation works better now!! 2014-11-03 21:51:28 -05:00
Andy Meneely 70a1b540c4 Refactoring 2014-11-02 20:54:58 -05:00
Andy Meneely 450f914dfc More conventional name 2014-11-02 18:44:22 -05:00
Andy Meneely c6e85b0e46 Refactoring to use case more, fixed build 2014-11-02 18:43:11 -05:00
Andy Meneely f4d2d759c1 Allowing strings for some inputs on text
Also writing mock object tests
2014-10-31 15:55:12 -04:00
Andy Meneely bf91190b3b Rubocop: TrailingBlankLines 2014-10-29 12:10:37 -04:00
Andy Meneely 37fd4e7733 Rubocop: Trailing Whitespace 2014-10-29 12:04:32 -04:00
Andy Meneely a60055a9bd Fixing nil for some situations 2014-10-20 15:36:37 -04:00
Andy Meneely 914e40e1f4 Warn about hints and angle
Can't seem to get text hints working with rotating text. Just throwing a warning for now.
2014-10-20 15:08:04 -04:00
Andy Meneely cf2a04c564 Fixing debug 2014-10-20 09:06:02 -04:00
Andy Meneely 985c925d99 Fixing globally togglable text hints 2014-10-17 08:33:25 -04:00
Andy Meneely 393eeae450 Renamed text :rotation => :angle 2014-10-17 08:17:08 -04:00
David Turner 91e7adafd5 Add text rotation 2014-10-17 08:17:07 -04:00
Andy Meneely fd2d10771a Added a font_size override for font description 2014-09-19 23:31:44 -04:00
Andy Meneely d4bde92d89 Allowing for save_png to rotate either direction 2014-08-26 16:29:37 -04:00
Andy Meneely a643cf8025 Hinting is set to off, not nil. Some more tests 2014-08-13 17:08:16 -04:00
Andy Meneely b3eb3b6876 Added blending operators to png and svg
Also refactored to start using save/restore more often
2014-08-12 12:23:54 -04:00
Andy Meneely 41038178ad Implementing rotate for save_png 2014-08-11 22:04:16 -04:00
Andy Meneely 3e08a0d604 Singleton expansion has... expanded!
Closes #13, hopefully
2014-08-11 00:22:04 -04:00
Andy Meneely 244c18bfe3 Moving API.md to README.md and revising documentation 2014-08-05 23:30:33 -04:00
Andy Meneely 3e92bf0fc6 Added a (currently infinite) cache of loaded pngs 2014-08-01 15:44:23 -04:00
Andy Meneely 9cde048c00 Spacing! 2014-08-01 15:32:13 -04:00
Andy Meneely 8bfdf4b777 Adding progress bars to the custom configuration 2014-07-31 15:20:39 -04:00
Andy Meneely 5c6149ad5a Better handling of empty files 2014-07-29 23:50:56 -04:00
Andy Meneely 75c01f7d9e Added line primitive 2014-07-29 16:17:29 -04:00
Andy Meneely 10b0e1811e Adding circle and triangle, and example
Closes #7
2014-07-29 16:10:49 -04:00
Andy Meneely e4d1900965 Added circle shape 2014-07-29 14:58:22 -04:00
Andy Meneely 77755cf150 aligning and valigning based on ink, not logical 2014-07-29 14:57:48 -04:00
Andy Meneely b0e65d3783 Implementing initial layout functionality 2014-07-29 14:17:38 -04:00
Andy Meneely 7f309869f2 Marking lots of stuff as :nodoc: 2014-07-29 00:34:27 -04:00
Andy Meneely 8b12344c7b Tons of docs, xlsx can be used outside Deck now 2014-07-29 00:16:47 -04:00
Andy Meneely efe146e1e2 Got all the specs passing! 2014-07-28 17:22:25 -04:00
Andy Meneely f6480445df Stabilizing the code after the options switch. Getting there... 2014-07-28 17:08:57 -04:00
Andy Meneely 093b2cf15b More work on the conversion 2014-07-25 17:38:23 -04:00
Andy Meneely e608e21d01 Fixing hinting bug 2014-07-23 22:18:17 -04:00
Andy Meneely 9784d928d1 svg command can now specify an ID 2014-07-23 09:35:10 -04:00
Andy Meneely b7e9e5459a Removing print statement 2014-07-22 17:40:31 -04:00
Andy Meneely c2ec7947df SVG scaling is now supported! 2014-07-22 14:54:09 -04:00
Andy Meneely bda920ebe6 Adding stroke and fill to rect 2014-07-22 14:30:24 -04:00
Andy Meneely d34e4729ce Tons of documentation work 2014-07-21 17:02:34 -04:00
Andy Meneely a6eed0ad3d Added valign, renaming text 2014-07-19 15:30:29 -04:00
Andy Meneely 11d2730b44 PDF support more stable now
* Lays out cards with possiblity of margin, gap, and trim
* Some new directory and file validation
* Added a logger
2014-07-19 01:44:21 -04:00
Andy Meneely a91b3189fc Adding in alpha transparency to png 2014-07-18 15:36:58 -04:00
Andy Meneely 9da4d0a499 Tons of text features and options added 2014-07-17 15:24:55 -04:00
Andy Meneely c477432239 Color handling handed off to rcairo 2014-07-17 13:11:26 -04:00
Andy Meneely 7ccce99e65 Removing hardcoded test data 2014-07-17 10:58:01 -04:00
Andy Meneely 3f4e001e63 Adding SVG support 2014-07-17 10:55:20 -04:00
Andy Meneely 6c1d32a8cd Adding in a png method 2014-07-16 23:14:56 -04:00
Andy Meneely 0e351754f3 Adding Excel xlsx support and prefixed images
* New sample!
* New API function!
* Ignoring _img in samples
2014-07-16 15:32:48 -04:00