drawer

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 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, opts *screen.DrawOptions)

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, opts *screen.DrawOptions)

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