Migrated test elements

This commit is contained in:
Sasha Koshka
2023-05-03 15:40:40 -04:00
committed by sashakoshka
parent 567358bf4c
commit b479ba8f0f
4 changed files with 55 additions and 53 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ import "unicode"
import "image/draw"
import "image/color"
import "golang.org/x/image/math/fixed"
import "git.tebibyte.media/sashakoshka/tomo/canvas"
import "git.tebibyte.media/sashakoshka/tomo/artist"
// 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 canvas.Canvas,
destination artist.Canvas,
color color.RGBA,
offset image.Point,
) (