Lines Matching refs:Bounds
48 // have the same bounds.
50 b := m0.Bounds()
94 if m0.Bounds() != m1.Bounds() {
95 t.Errorf("%s, bounds differ: %v and %v", tc.filename, m0.Bounds(), m1.Bounds())
122 if m0.Bounds() != m1.Bounds() {
123 t.Fatalf("bounds differ: %v and %v", m0.Bounds(), m1.Bounds())
176 if m.Bounds().Dx() != width || m.Bounds().Dy() != height {
177 t.Fatalf("frame %d had unexpected bounds: got %v, want width/height = %d/%d",
178 i, m.Bounds(), width, height)
246 if m0.Bounds() != m1.Bounds() {
247 t.Errorf("frame %d: bounds differ: %v and %v", i, m0.Bounds(), m1.Bounds())
349 if got, want := m.Bounds(), image.Rect(0, 0, 6, 6); got != want {
361 // image.Image's Bounds method returns an image.Rectangle (four integers).
362 // For a gif.GIF, the overall bounds' top-left point is always implicitly
363 // (0, 0), and any frame whose bounds have a negative X or Y will be
364 // outside those overall bounds, so encoding should fail.
474 bo := img.Bounds()