svgrender

package
v0.0.0-...-3befcbb Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (

	//RleParts Index of BEARD
	BEARD_RLE = 4
)

Variables

This section is empty.

Functions

func BuildSVG

func BuildSVG(parts []string, bgColor string,
	textColor string, title string, subtitle string, zoomWindow [4]*big.Int, resolution int, log *zerolog.Logger) string

func GetOffchainRender

func GetOffchainRender(hustlerId *big.Int) (string, error)

func InitRenderer

func InitRenderer() error

Types

type BodyParts

type BodyParts struct {
	Body  string
	Hair  string
	Beard string
}

type DecodedImage

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

type ImageBounds

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

type Rect

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

Jump to

Keyboard shortcuts

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