drawer

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package drawer provides functions that help implement screen.Drawer methods.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(dst screen.Drawer, dp image.Point, src screen.Texture, sr image.Rectangle, op draw.Op)

Copy implements the Copy method of the screen.Drawer interface by calling the Draw method of that same interface.

func Scale

func Scale(dst screen.Drawer, dr image.Rectangle, src screen.Texture, sr image.Rectangle, op draw.Op)

Scale implements the Scale method of the screen.Drawer interface by calling the Draw method of that same interface.

Types

This section is empty.

Jump to

Keyboard shortcuts

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