Lines Matching refs:pixOffset
46 pixOffset := im.PixOffset(point.X, point.Y)
48 if !visited[pixOffset] {
50 visited[pixOffset] = true
60 pixOffset = im.PixOffset(xpos, point.Y)
61 if isColorMatch(im, pixOffset, matchColor, tSquared) {
63 visited[pixOffset] = true
82 pixOffset = im.PixOffset(xpos, point.Y)
83 if isColorMatch(im, pixOffset, matchColor, tSquared) {
85 visited[pixOffset] = true
108 pixOffset = im.PixOffset(x, point.Y-1)
109 if !visited[pixOffset] && isColorMatch(im, pixOffset, matchColor, tSquared) {
123 pixOffset = im.PixOffset(x, point.Y+1)
124 if !visited[pixOffset] && isColorMatch(im, pixOffset, matchColor, tSquared) {