gfxutil

package
v0.0.0-...-da99c14 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadPng

func LoadPng(pngimage string) (*ebiten.Image, error)

LoadPng opens a png image and stores a decoded image

func LoadPngSlice

func LoadPngSlice(bslice []byte) (*ebiten.Image, error)

LoadPngSlice opens a byte slice png image and stores a decoded image

func PrintImage

func PrintImage(screen, img *ebiten.Image, tx, ty, sx, sy float64)

PrintImage draws the image to screen including scale and translation

Types

This section is empty.

Jump to

Keyboard shortcuts

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