Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Default = DPI{ // contains filtered or unexported fields } )
View Source
var (
ZeroPoint = NewPoint(0, 0)
)
Functions ¶
This section is empty.
Types ¶
type Circle ¶
type CubicBezier ¶
func NewCubicBezier ¶
func NewCubicBezier(start, mid, end Point) *CubicBezier
func (*CubicBezier) DrawTo ¶
func (cb *CubicBezier) DrawTo(b *sdf.Bezier)
func (*CubicBezier) MM ¶
func (cb *CubicBezier) MM(dpi DPI)
func (*CubicBezier) Matrix ¶
func (cb *CubicBezier) Matrix(matrix *Matrix)
type Graphic ¶
type Graphic struct { ID string Matrix *Matrix Paths []*Path Rects []*Rect Circles []*Circle Graphics []*Graphic // contains filtered or unexported fields }
func (*Graphic) UnmarshalXML ¶
type NotFoundError ¶
type NotFoundError string
func (NotFoundError) Error ¶
func (err NotFoundError) Error() string
type Path ¶
type Path struct { Drawables []Drawable Stroke string StrokeLinecap string StrokeLineJoin string // contains filtered or unexported fields }
func (*Path) UnmarshalXML ¶
type Rect ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.