Moved artist (now art) into another repo

This commit is contained in:
2023-05-03 20:17:48 -04:00
parent 54ea1c283f
commit 501eb34922
36 changed files with 191 additions and 186 deletions

View File

@@ -5,7 +5,7 @@ import "unicode"
import "image/draw"
import "image/color"
import "golang.org/x/image/math/fixed"
import "tomo/artist"
import "art"
// Drawer is an extended TypeSetter that is able to draw text. Much like
// TypeSetter, It has no constructor and its zero value can be used safely.
@@ -13,7 +13,7 @@ type Drawer struct { TypeSetter }
// Draw draws the drawer's text onto the specified canvas at the given offset.
func (drawer Drawer) Draw (
destination artist.Canvas,
destination art.Canvas,
color color.RGBA,
offset image.Point,
) (