Rather than having to use fmt.Printf(svg.Writer, ...) to write an
arbitary string to the writer, the internal print* functions have been
wrapped in exported functions. This maintains backwards compatibility
(almost all writer functions rely on the unexported functions) while
also exposing a neater way of writing arbitrary strings.
Rather than having to use
fmt.Printf(svg.Writer, ...)
to write an arbitary string to the writer, the internalprint*
functions have been wrapped in exported functions. This maintains backwards compatibility (almost all writer functions rely on the unexported functions) while also exposing a neater way of writing arbitrary strings.