drawer

package
v4.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: Apache-2.0, 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.SimpleDrawer, 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.SimpleDrawer, 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