image.NRGBA.Rect (field)
19 uses
image (current package)
image.go#L82: Rect Rectangle
image.go#L87: func (p *RGBA) Bounds() Rectangle { return p.Rect }
image.go#L94: if !(Point{x, y}.In(p.Rect)) {
image.go#L105: return (y-p.Rect.Min.Y)*p.Stride + (x-p.Rect.Min.X)*4
image.go#L109: if !(Point{x, y}.In(p.Rect)) {
image.go#L122: if !(Point{x, y}.In(p.Rect)) {
image.go#L136: r = r.Intersect(p.Rect)
image.go#L147: Rect: r,
image.go#L153: if p.Rect.Empty() {
image.go#L156: i0, i1 := 3, p.Rect.Dx()*4
image.go#L157: for y := p.Rect.Min.Y; y < p.Rect.Max.Y; y++ {
image.go#L174: Rect: r,
image/internal/imageutil
impl.go#L32: x0 := (r.Min.X - dst.Rect.Min.X) * 4
impl.go#L33: x1 := (r.Max.X - dst.Rect.Min.X) * 4
impl.go#L34: y0 := r.Min.Y - dst.Rect.Min.Y
impl.go#L35: y1 := r.Max.Y - dst.Rect.Min.Y
image/jpeg
reader.go#L706: Rect: img.Rect,
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |