Anthony Starks

Results 71 comments of Anthony Starks

Degree is in indeed in the default font. This program: ``` // first OpenVG program #include #include #include #include "VG/openvg.h" #include "VG/vgu.h" #include "fontinfo.h" #include "shapes.h" int main() { int...

See: https://github.com/ajstarks/openvg/blob/master/client/clip.c in general, for animation, you compute the frame, create a background, and repeat. A more extensive example, (although not in C is clock: https://github.com/ajstarks/openvg/blob/master/go-client/clock/clock.go

The Rect call has the overhead of using and destroying paths.

Can you point me to your code. This is not something I have seen.

See Deck: https://github.com/ajstarks/deck/ https://godoc.org/github.com/ajstarks/deck https://github.com/ajstarks/deck/tree/master/cmd/pdfdeck https://speakerdeck.com/ajstarks/deck-a-go-package-for-presentations

@marcusatbang you can use the deck/generate package to build layout programmatically: see: https://godoc.org/github.com/ajstarks/deck/generate

As you know svgo is a generator, not a rasterizer, however @srwiley has some interesting work on rasterizing SVG: see https://github.com/srwiley/oksvg and https://github.som/srwiley/scanx and rasterx

The SVG spec is quite large -- what subset would you want to support?

Interesting you mention charts; note the dchart program, (https://github.com/ajstarks/deck/blob/master/cmd/dchart/README.md) which uses the gofpdf client, pdfdeck, for PDF rendering (https://github.com/ajstarks/deck/blob/master/cmd/pdfdeck/pdfdeck.go)