~mendelmaleh/dummy

ref: 2a6c9d5c1b6b18b1adf68de7465b0443900dc280 dummy/image.go -rw-r--r-- 1.5 KiB
Separate API from base package
Don't draw empty text
Rename opt.Pattern -> opt.Mask
Add text rendering
Rework diagonal drawing

Fix rectangles too.
Add plain pattern, set it as default
Make naming more consistent
Move image generation to image.go, extract drawDiagonal