definitions.go 349 B

12345678910111213141516
  1. // Copyright 2017 The oksvg Authors. All rights reserved.
  2. // created: 2/12/2017 by S.R.Wiley
  3. //
  4. // utils.go implements translation of an SVG2.0 path into a rasterx Path.
  5. package oksvg
  6. import (
  7. "encoding/xml"
  8. )
  9. // definition is used to store XML-tags of SVG source definitions data.
  10. type definition struct {
  11. ID, Tag string
  12. Attrs []xml.Attr
  13. }