draw2d
draw2d copied to clipboard
2D rendering for different output (raster, pdf, svg)
I have been using this library with [go-nexrad](https://github.com/bwiggs/go-nexrad), and I am able to generate PNG and SVG files. However, the SVG files that are generated are enormous, with a less...
Hello author and everyone, When I draw a text string with stroke (using StrokeStringAt), font Roboto-Medium (loaded with `truetype` package), found the stroke looks strange which does not cover the...
Hello, I am using draw2d to draw some graphics using go and it's going great. Thank you for the library! I have a usecase where I would need the line...
How can I create a PDF file with more than one page with the library? I do not understand, how a graphic context maps to a page in a PDF-file....
It would be nice to be able to read / parse svg format. Sorry if this is already capture elsewhere in this repo, but this could also be a good...
Given a rectangle, can I cut it to a rounded rectangle by using draw2d?
If I get things correctly, there is no way to draw underlined text, as https://godoc.org/github.com/llgcode/draw2d#FontStyle shows only Bold and Italics Is there a way to underline text via the API?...
 This is a modified version of linecapjoin.go (draw2d/samples). I dont know if its only me or are the lines always drawn equally no matter what i use as cap...
When generating SVG output I would like to be able to set the width and height value if the svg element to control the size of the image. I didn't...
Hey, when trying to use ``` dest := image.NewPaletted(bounds, palette.Plan9) canvas := draw2dimg.NewGraphicContext(dest) ``` I crash with ``` panic: Image type not supported goroutine 70 [running]: github.com/llgcode/draw2d/draw2dimg.NewGraphicContext(0x7f18c0, 0xc420096660, 0x10000) /home/conor/thingo/go/src/github.com/llgcode/draw2d/draw2dimg/ftgc.go:63...