definitions.go
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
6package oksvg
7
8import (
9 "encoding/xml"
10)
11
12// definition is used to store XML-tags of SVG source definitions data.
13type definition struct {
14 ID, Tag string
15 Attrs []xml.Attr
16}