Andy Meneely
10e63c845f
Rollup of v0.13.x fixes
...
See v0.13-fixes branch for individual fixes
Conflicts:
CHANGELOG.md
lib/squib/version.rb
squib.gemspec
9 years ago
Andy Meneely
e18084d963
deck: flush surface upon exit
...
Fixes bug #180
9 years ago
Andy Meneely
d2eae64da2
shapes: rect and ellipse get the angle option
...
Closes #162
9 years ago
Andy Meneely
bd5e6c92f6
samples: gistify saves
10 years ago
Andy Meneely
d99e840ffd
PNG/SVG: flipping is now supported.
...
Fixes #11
10 years ago
Andy Meneely
8ea553eb95
Updating specs for image cropping
...
Ripped out graphics_images_spec.rb for being annoyingly useless. Too many mock objects!
10 years ago
Andy Meneely
bcc6d355d2
Convert showcase to args classes
10 years ago
Andy Meneely
7de39618fe
Update regression tests for text
11 years ago
Andy Meneely
7c756e468d
Remove dead code
11 years ago
Andy Meneely
9d475995e8
Pango scaling of "spacing" in text is done once
...
Spacing also defaults to nil, not zero, as before
Fixes #98
11 years ago
Andy Meneely
f21e9448e1
Warn when text is ellipsized
...
Closes #80
11 years ago
Andy Meneely
e43f68d323
Ported text command over to the new args classes
...
* Involved a big rewrite of arg_loader to accomodate nil and false better. Sadly this meant dumping ||= for if-statements. Blech, but works.
* Updates to regression tests are pretty trivial.
* Removed graphics_text_spec because, even though it looks useful, with rake sanity it really isn't.
* Exposed font on deck as well
Cleaned up graphics/text.rb too!
11 years ago
Andy Meneely
cc5c540be8
Updated regression specs
...
Mostly from changing colorify to always converting to a string
New ranges example for the idiom
New text options example for dotted
[skip ci]
11 years ago
Andy Meneely
6aecdbbb4a
Adding custom colors to the draw arg
11 years ago
Andy Meneely
c5e00f1877
Employing the new args refactoring on all shapes
11 years ago
Andy Meneely
6c60f21bb0
Refactored drawing to get fill_n_stroke
...
Contributes to #75
11 years ago
Andy Meneely
71defb9e33
Fix color handling with text outline stroking
...
Needed to set squibcolor prior to translating the coordinate system so that gradients are relative to the card (as is documented). This also means stroking is done AFTER drawing the text, which looks better anyway.
11 years ago
Andy Meneely
7c69cad506
Text: outline a string with a color or gradient
...
Fill color is still the same with 'color' (i.e. can be overridden by markup still), but now there's a stroke_width and a stroke_color option that, when stroke_width > 0, will draw an outline below the text. Since this isn't a Pango feature, we can't do markup for outlines. (Maybe make that a feature request to Pango if you want it.)
Implements #51
11 years ago
Andy Meneely
19cad2cdb8
Using a platform-specific fix for zero-width letters on embedding icons
...
Contributes to #30 and our zero-width letter woes.
11 years ago
Andy Meneely
91ba48f80b
Explicitly saving and restoring the matrix
11 years ago
Andy Meneely
c9f9235be7
Attempting travis fix by saving and restoring the matrix
11 years ago
Andy Meneely
574b76873e
Updating regression tests, renamed bezier curve params
11 years ago
Andy Meneely
3a57380959
Updated and corrected regression tests
11 years ago
Andy Meneely
2caacaeece
Fixing compatibility with linux os
...
Thank you, Travis! Turns out the cairo gem isn't perfectly the same in Linux...
11 years ago
Andy Meneely
f49bff2388
Add antialias config option
...
Closes #41
11 years ago
Andy Meneely
8876b27473
Merging in svg back end work. All but save_doc is done.
11 years ago
Andy Meneely
578c3cb6a0
Upgrading rspec, fixing mock objects bug
11 years ago
Andy Meneely
4ecbaa4e31
Implementing format strings for filename counts on multisaves
11 years ago
Andy Meneely
bfbf7a7eba
Added support for linear and radial gradients
...
Closes #29
11 years ago
Andy Meneely
407b0e9b71
Still fixing showcase regression test
11 years ago
Andy Meneely
4d3c676cf6
Fixing hex scrub for showcase
11 years ago
Andy Meneely
f3e3082f0e
Implement showcase feature
...
#Closes 26
11 years ago