Andy Meneely
f16f285a0a
Update expected draw_shapes.rb PNG for sanity test
11 years ago
Andy Meneely
c931a860a1
Args refactoring: combine polygon, tri, and bezier args into coords
...
As a rule, I think it's better to group args classes together have some extra overhead of extracting unused parameters. For example, we don't *need* to extract "n" for the circle, but the ease of having logically grouped classes is better than having tons of different classes tailored to each command.
11 years ago
Andy Meneely
b5903293d7
Layouts use strings as keys, so that must be realistic
11 years ago
Andy Meneely
78ee185fde
Update sample to use cleaner syntax
11 years ago
Andy Meneely
243b3836c4
Refactor to remove instance_eval
...
When you have a hammer...
11 years ago
Andy Meneely
c5e00f1877
Employing the new args refactoring on all shapes
11 years ago
Andy Meneely
8a7841d64f
Add dash option to drawing operations
...
Currently only impacts rect, but it will impact others with the new design shortly
11 years ago
Andy Meneely
12c5cd675b
Added line cap and join settings for rect and curve
...
More forthcoming - these are proof-of-concept
11 years ago
Andy Meneely
c1e410fe72
First foray into args class refactoring: rect
...
So far, I really like this approach. It allows us to push validation logic out of the Card class and into its own set of classes that can be more easily tested.
Fixes #75 , but we've got a lot more work to do in getting this full scale
11 years ago
Andy Meneely
6c60f21bb0
Refactored drawing to get fill_n_stroke
...
Contributes to #75
11 years ago
Andy Meneely
34851be5d7
Put release date on the changelog
11 years ago
Andy Meneely
9801188b47
Update expected png for star
11 years ago
Andy Meneely
da0fe1b118
Onward and upward.
11 years ago
Andy Meneely
981a9eab0e
I dub thee v0.6.0
11 years ago
Andy Meneely
d957addfc3
Enabling regression tests again
11 years ago
Andy Meneely
a20100f3f8
Hiding private stuff from public documentation
11 years ago
Andy Meneely
07fdfa49d5
README tweaks
...
[skip ci]
11 years ago
Andy Meneely
3bbc787025
Add polygon method to dsl
...
Testing and documentation too.
Closes #67
11 years ago
Andy Meneely
f0b71531aa
Allowing close_path to pass through
11 years ago
Andy Meneely
c3e76a93aa
Fix a syntax error
11 years ago
Andy Meneely
6d8e44920b
Allow unit conversion on radius for star
11 years ago
Andy Meneely
6cf6ec8099
Fix documentation for shapes
11 years ago
Andy Meneely
b1ad59b56f
Document star in changelog
11 years ago
Andy Meneely
0853b6a708
Finish regression testing of star
11 years ago
Andy Meneely
b8536bcabe
Regression and sanity testing for star
...
Closes #72
11 years ago
Andy Meneely
4b63716dfc
Star feature works, testing is still pending
11 years ago
Andy Meneely
14e04a89c7
Started the star feature
...
Contributes to #72
[skip ci]
11 years ago
Andy Meneely
ae1a7bd084
Set a non-symbol default for text embeds
...
Fixes #73 , but in #74 we'll get it right.
11 years ago
Andy Meneely
5ee3df5138
Update changelog for hand command, and other tweaks
...
[skip ci]
11 years ago
Andy Meneely
0154b13e68
Use cairo context wrapper for fill colors on marketing
...
Actually deliver what I promised
Fixes #71
11 years ago
Andy Meneely
a86974d5b8
Regression and sanity testing
11 years ago
Andy Meneely
31b583d134
Implementation of hand
11 years ago
Andy Meneely
824e26d2c2
Hacked together a basic example to work from
11 years ago
Andy Meneely
f0f9b7680d
Starting a basic hand command
11 years ago
Andy Meneely
071f06bdc2
Removing an old side-note.
...
[skip ci]
11 years ago
Andy Meneely
d80d3884b1
Cleanup
11 years ago
Andy Meneely
dab544a53b
Add ellipse method
...
Also experimenting with using stroke_preserve, which in turn may make the other methods less repetitive.
Closes #66
11 years ago
Andy Meneely
9b4eb7f00b
Hide generated folders from SublimeText
11 years ago
Andy Meneely
7c829c21e9
Switch to YARD's master branch now that frameless is integrated
11 years ago
Andy Meneely
6316a5ee0c
Refactor the sublimetext project file
11 years ago
Andy Meneely
ac7769237c
Fix the csv_import.rb sample to function properly
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
2e84cf4e6a
Update load_images expected png for sanity testing
11 years ago
Andy Meneely
e974880e03
Add 'data' field to svg method for loading XML directly
...
Implements #65
11 years ago
Andy Meneely
c42fbef8fa
Documented stroke_width and stroke_color
...
Contributes to #51
[skip ci]
11 years ago
Andy Meneely
b03dbb54da
Fix unit test breakage
11 years ago
Andy Meneely
ca70b88be9
Cleanup
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
70b2e52d57
Document conf overhaul
11 years ago
Andy Meneely
acbbbca2bd
Documenting the status of dpi
11 years ago