Home | History | Annotate | Download | only in image

Lines Matching refs:Bounds

39 	// Bounds returns the domain for which At can return non-zero color.
40 // The bounds do not necessarily contain the point (0, 0).
41 Bounds() Rectangle
43 // At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid.
44 // At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one.
66 // Rect is the image's bounds.
72 func (p *RGBA) Bounds() Rectangle { return p.Rect }
151 // NewRGBA returns a new RGBA image with the given bounds.
165 // Rect is the image's bounds.
171 func (p *RGBA64) Bounds() Rectangle { return p.Rect }
263 // NewRGBA64 returns a new RGBA64 image with the given bounds.
277 // Rect is the image's bounds.
283 func (p *NRGBA) Bounds() Rectangle { return p.Rect }
362 // NewNRGBA returns a new NRGBA image with the given bounds.
376 // Rect is the image's bounds.
382 func (p *NRGBA64) Bounds() Rectangle { return p.Rect }
474 // NewNRGBA64 returns a new NRGBA64 image with the given bounds.
488 // Rect is the image's bounds.
494 func (p *Alpha) Bounds() Rectangle { return p.Rect }
566 // NewAlpha returns a new Alpha image with the given bounds.
580 // Rect is the image's bounds.
586 func (p *Alpha16) Bounds() Rectangle { return p.Rect }
661 // NewAlpha16 returns a new Alpha16 image with the given bounds.
675 // Rect is the image's bounds.
681 func (p *Gray) Bounds() Rectangle { return p.Rect }
740 // NewGray returns a new Gray image with the given bounds.
754 // Rect is the image's bounds.
760 func (p *Gray16) Bounds() Rectangle { return p.Rect }
822 // NewGray16 returns a new Gray16 image with the given bounds.
836 // Rect is the image's bounds.
842 func (p *CMYK) Bounds() Rectangle { return p.Rect }
908 // NewCMYK returns a new CMYK image with the given bounds.
922 // Rect is the image's bounds.
930 func (p *Paletted) Bounds() Rectangle { return p.Rect }