util

package
v0.0.0-...-603b709 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const SvgStart = `<?xml version="1.0"?>
<svg width="%v" height="%v"
     xmlns="http://www.w3.org/2000/svg"
     shape-rendering="crispEdges">
`

Variables

This section is empty.

Functions

func DecodeImage

func DecodeImage(imageFile string) (image2.Data, error)

decodeImage reads and decodes an image.

func Min

func Min(a, b int) int

func MultAndRound

func MultAndRound(v int, s float64) int

func Scale

func Scale(num float64, d int) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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