Lines Matching refs:Bounds
416 bounds := image.Rect(left, top, left+width, top+height)
417 if bounds != bounds.Intersect(image.Rect(0, 0, d.width, d.height)) {
418 return nil, errors.New("gif: frame bounds larger than image bounds")
420 return image.NewPaletted(bounds, nil), nil
450 dx := m.Bounds().Dx()
451 dy := m.Bounds().Dy()
487 // color table and there is no global color table. Each frame's bounds must
493 // the first frame's bounds' Rectangle.Max point.