Andy Meneely
9cdd3c4d2f
text: fix valign when we only have an embed key
...
Fixes #134
2016-03-15 23:07:23 -04:00
Andy Meneely
9eb348236d
samples: ignore pre-built files
2016-03-15 18:26:24 -04:00
Andy Meneely
f408b7a88f
csv: data option
...
Close #137
2016-03-15 17:45:39 -04:00
Andy Meneely
80cd0b924f
samples: silence the build_group sample
2016-03-15 17:40:08 -04:00
Andy Meneely
61a3d3446b
feature: build groups
...
See docs and changelog for more details on how these work.
2016-03-13 00:38:13 -05:00
Andy Meneely
aae1c0a4c6
samples/text: Rebuild on home machine
2016-01-10 20:31:13 -05:00
Andy Meneely
cf736db067
Maintain coordinate system when using gradients
...
Sample: document this better
spec: test this and update past tests
Fixes #127
2016-01-10 20:30:30 -05:00
Andy Meneely
4c0325aba1
samples/text: update output
2015-12-21 10:56:05 -05:00
Andy Meneely
b560643332
Add submodule gist: _autoscale_font.rb
2015-12-13 21:11:22 -05:00
Andy Meneely
8b0067546f
save_png: add trim and trim_radius options
...
Close #122 .
2015-12-11 23:09:04 -05:00
Andy Meneely
b05e1243f1
samples: use the latest _text.rb sample
2015-12-11 21:22:32 -05:00
Andy Meneely
960ba03137
Samples: add submodule samples/text
2015-11-30 08:50:44 -05:00
Andy Meneely
dc85439350
Samples: new gist for text
2015-11-30 08:50:44 -05:00
Andy Meneely
52f3def03b
Samples: _images output
2015-11-24 00:37:44 -05:00
Andy Meneely
645c9ff061
Samples: new images gist
2015-11-23 23:39:35 -05:00
Andy Meneely
7759eed6f3
Fix expected images after rebuild
2015-11-23 22:55:04 -05:00
Andy Meneely
16015a61a7
Rename sample/intro files to be more gist-friendly
2015-11-23 22:52:06 -05:00
Andy Meneely
f33a74cada
Samples: intro gist
...
Also make the sample regression spec more subdirectory friendly
2015-11-23 22:44:44 -05:00
Andy Meneely
710d28f5a8
Add warning to suppress png scaling warning
...
Close #120
2015-11-02 21:07:14 -05:00
Andy Meneely
b00cc99dd0
Added a grid shape
...
Close #68
2015-10-26 23:59:51 -04:00
Andy Meneely
d99e840ffd
PNG/SVG: flipping is now supported.
...
Fixes #11
2015-10-26 23:31:16 -04:00
Andy Meneely
169f9e4ac4
SVGs: now with more cropping power!
...
Contributes to #11
2015-10-26 22:47:42 -04:00
Andy Meneely
541c8d49ca
Crop PNGs, now with more rounded corners!
...
Contributes to #11
2015-10-26 22:35:56 -04:00
Andy Meneely
08381b86f0
Add quantity explosion to xlsx and csv
...
Closes #78
2015-10-20 18:23:25 -04:00
Andy Meneely
c8e6f9803c
xlsx,csv: trim whitespace, yield to optional block
...
Closes #108 and #79
2015-10-13 10:37:49 -04:00
Andy Meneely
40ac6d2b6b
Expanding the Working With Text section
...
[skip ci]
2015-07-29 12:20:35 -04:00
Andy Meneely
19767c54c4
Implement stroke_strategy option for all drawing operations
...
Fixes #102
2015-07-27 22:55:49 -04:00
Andy Meneely
e03a97ce7e
Add :scale shortcut to width/height of png and svg
...
Allows scaling while keeping the aspect ratio
Closes #91
2015-07-27 13:25:12 -04:00
Andy Meneely
8f977f5956
Update text_options.rb sample, and expected output
2015-07-26 23:25:43 -04:00
Andy Meneely
9d475995e8
Pango scaling of "spacing" in text is done once
...
Spacing also defaults to nil, not zero, as before
Fixes #98
2015-07-26 22:26:42 -04:00
Andy Meneely
d899795f2b
Remove debug line
2015-07-26 21:50:54 -04:00
Andy Meneely
003a26ae68
Two new built-in layouts: fantasy.yml and economy.yml
...
Contributes to #97
2015-07-26 00:59:12 -04:00
Andy Meneely
92d866548c
Cleanup of img_dir and testing of input_file.rb
2015-07-21 21:04:23 -04:00
Andy Meneely
e20c644a9a
Implemented new args design for svg and png
...
As part of that implementation, text_embed now supports singleton expansion. Closes #54
2015-07-21 20:27:15 -04:00
Andy Meneely
ff3d057d49
Add a force_id: true example to load_images
2015-07-21 20:17:08 -04:00
Andy Meneely
2dd3fc3365
Documented a range idiom
...
In reaction to #90
[skip ci]
2015-07-03 16:01:44 -04:00
Andy Meneely
79814a43ea
Start migrating text over to new args system
...
Almost there. It's working fine with the sample, but next it's time to write validators to get all this arg logic out of text.rb and make it just about drawing text.
Yes, unit tests aren't updated yet.
[skip ci]
2015-07-03 02:11:32 -04:00
Andy Meneely
78ee185fde
Update sample to use cleaner syntax
2015-06-11 17:19:32 -04:00
Andy Meneely
8a7841d64f
Add dash option to drawing operations
...
Currently only impacts rect, but it will impact others with the new design shortly
2015-06-08 15:26:33 -04:00
Andy Meneely
12c5cd675b
Added line cap and join settings for rect and curve
...
More forthcoming - these are proof-of-concept
2015-06-08 14:17:46 -04:00
Andy Meneely
6c60f21bb0
Refactored drawing to get fill_n_stroke
...
Contributes to #75
2015-06-04 16:40:55 -04:00
Andy Meneely
3bbc787025
Add polygon method to dsl
...
Testing and documentation too.
Closes #67
2015-05-22 06:12:48 -04:00
Andy Meneely
4b63716dfc
Star feature works, testing is still pending
2015-05-21 09:29:01 -04:00
Andy Meneely
14e04a89c7
Started the star feature
...
Contributes to #72
[skip ci]
2015-05-21 09:29:00 -04:00
Andy Meneely
a86974d5b8
Regression and sanity testing
2015-05-19 15:02:54 -04:00
Andy Meneely
31b583d134
Implementation of hand
2015-05-19 14:40:21 -04:00
Andy Meneely
824e26d2c2
Hacked together a basic example to work from
2015-05-13 09:42:14 -04:00
Andy Meneely
f0f9b7680d
Starting a basic hand command
2015-05-11 23:30:30 -04:00
Andy Meneely
dab544a53b
Add ellipse method
...
Also experimenting with using stroke_preserve, which in turn may make the other methods less repetitive.
Closes #66
2015-04-30 11:48:21 -04:00
Andy Meneely
ac7769237c
Fix the csv_import.rb sample to function properly
2015-04-30 10:05:34 -04:00