Back to godoc.org

Package gfxutil

v0.0.0-...-da99c14
Latest Go to latest

The latest major version is .

Published: Feb 2, 2020 | License: MIT | Module: github.com/Aoana/ball-sim-go

Index

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

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier