Changed import paths

This commit is contained in:
2023-05-03 19:40:30 -04:00
parent 794ab1b5e8
commit 33c787d70b
70 changed files with 207 additions and 207 deletions

View File

@@ -4,8 +4,8 @@ package artutil
import "image"
import "image/color"
import "git.tebibyte.media/sashakoshka/tomo/artist"
import "git.tebibyte.media/sashakoshka/tomo/shatter"
import "tomo/artist"
import "tomo/shatter"
// Fill fills the destination canvas with the given pattern.
func Fill (destination artist.Canvas, source artist.Pattern) (updated image.Rectangle) {

View File

@@ -1,7 +1,7 @@
package patterns
import "image"
import "git.tebibyte.media/sashakoshka/tomo/artist"
import "tomo/artist"
// Border is a pattern that behaves similarly to border-image in CSS. It divides
// a source canvas into nine sections...

View File

@@ -1,7 +1,7 @@
package patterns
import "image"
import "git.tebibyte.media/sashakoshka/tomo/artist"
import "tomo/artist"
// Texture is a pattern that tiles the content of a canvas both horizontally and
// vertically.

View File

@@ -2,9 +2,9 @@ package patterns
import "image"
import "image/color"
import "git.tebibyte.media/sashakoshka/tomo/artist"
import "git.tebibyte.media/sashakoshka/tomo/artist/shapes"
import "git.tebibyte.media/sashakoshka/tomo/artist/artutil"
import "tomo/artist"
import "tomo/artist/shapes"
import "tomo/artist/artutil"
// Uniform is a pattern that draws a solid color.
type Uniform color.RGBA

View File

@@ -3,7 +3,7 @@ package shapes
import "math"
import "image"
import "image/color"
import "git.tebibyte.media/sashakoshka/tomo/artist"
import "tomo/artist"
// TODO: redo fill ellipse, stroke ellipse, etc. so that it only takes in
// destination and source, using the bounds of destination as the bounds of the

View File

@@ -2,7 +2,7 @@ package shapes
import "image"
import "image/color"
import "git.tebibyte.media/sashakoshka/tomo/artist"
import "tomo/artist"
// ColorLine draws a line from one point to another with the specified weight
// and color.

View File

@@ -2,8 +2,8 @@ package shapes
import "image"
import "image/color"
import "git.tebibyte.media/sashakoshka/tomo/artist"
import "git.tebibyte.media/sashakoshka/tomo/shatter"
import "tomo/artist"
import "tomo/shatter"
// TODO: return updatedRegion for all routines in this package