svg

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SVG

type SVG struct {
	// contains filtered or unexported fields
}

func New

func New(data []byte) (*SVG, error)

func (*SVG) Rasterize

func (svg *SVG) Rasterize(scalingFunction func(width, height int, allowUpscaling bool) (int, int)) (image.Image, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL