Andy Meneely
310030eee4
👮 spaces around operators
10 years ago
Andy Meneely
137e3f91cd
👮 fix extra spaces
10 years ago
Andy Meneely
b00cc99dd0
Added a grid shape
...
Close #68
10 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
a20100f3f8
Hiding private stuff from public documentation
11 years ago
Andy Meneely
3bbc787025
Add polygon method to dsl
...
Testing and documentation too.
Closes #67
11 years ago
Andy Meneely
0853b6a708
Finish regression testing of star
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
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
574b76873e
Updating regression tests, renamed bezier curve params
11 years ago
Andy Meneely
2cc9cc8e93
Initial implementation of curves
...
Contributes to #37
11 years ago
Andy Meneely
612c042d52
SVG backend: PDF implemented, tests passing
...
Wrapping up the svg backend work
Still some bugs to stamp out, but this is getting close to release ready.
11 years ago
Andy Meneely
d2543473c7
Fix a leftover x,y stroke on circles
...
Fixes #35
11 years ago
Andy Meneely
bfbf7a7eba
Added support for linear and radial gradients
...
Closes #29
11 years ago
Andy Meneely
70a1b540c4
Refactoring
11 years ago
Andy Meneely
bf91190b3b
Rubocop: TrailingBlankLines
11 years ago
Andy Meneely
37fd4e7733
Rubocop: Trailing Whitespace
11 years ago
Andy Meneely
b3eb3b6876
Added blending operators to png and svg
...
Also refactored to start using save/restore more often
12 years ago
Andy Meneely
75c01f7d9e
Added line primitive
12 years ago
Andy Meneely
10b0e1811e
Adding circle and triangle, and example
...
Closes #7
12 years ago
Andy Meneely
e4d1900965
Added circle shape
12 years ago
Andy Meneely
b0e65d3783
Implementing initial layout functionality
12 years ago
Andy Meneely
7f309869f2
Marking lots of stuff as :nodoc:
12 years ago
Andy Meneely
093b2cf15b
More work on the conversion
12 years ago
Andy Meneely
bda920ebe6
Adding stroke and fill to rect
12 years ago
Andy Meneely
9da4d0a499
Tons of text features and options added
12 years ago
Andy Meneely
b001da7ba3
Massive rewrite to use DSL conventions
12 years ago