exp: golang.org/x/exp/shiny/driver/internal/drawer Index | Files

package drawer

import "golang.org/x/exp/shiny/driver/internal/drawer"

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

Index

Package Files

drawer.go

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.

Package drawer imports 4 packages (graph) and is imported by 2 packages. Updated 28 days ago. Refresh now. Tools for package owners.