Back to godoc.org

Package drawer

v0.0.0 (0022984)
Latest Go to latest
Published: May 13, 2020 | License: BSD-3-Clause | Module: golang.org/x/exp

Overview

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

Index

Package Files

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.

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

Jump to identifier

Keyboard shortcuts

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