type image.Rectangle
90 uses
image (current package)
geom.go#L44: func (p Point) In(r Rectangle) bool {
geom.go#L51: func (p Point) Mod(r Rectangle) Point {
geom.go#L88: type Rectangle struct {
geom.go#L93: func (r Rectangle) String() string {
geom.go#L98: func (r Rectangle) Dx() int {
geom.go#L103: func (r Rectangle) Dy() int {
geom.go#L108: func (r Rectangle) Size() Point {
geom.go#L116: func (r Rectangle) Add(p Point) Rectangle {
geom.go#L117: return Rectangle{
geom.go#L124: func (r Rectangle) Sub(p Point) Rectangle {
geom.go#L125: return Rectangle{
geom.go#L134: func (r Rectangle) Inset(n int) Rectangle {
geom.go#L154: func (r Rectangle) Intersect(s Rectangle) Rectangle {
geom.go#L178: func (r Rectangle) Union(s Rectangle) Rectangle {
geom.go#L201: func (r Rectangle) Empty() bool {
geom.go#L207: func (r Rectangle) Eq(s Rectangle) bool {
geom.go#L212: func (r Rectangle) Overlaps(s Rectangle) bool {
geom.go#L219: func (r Rectangle) In(s Rectangle) bool {
geom.go#L231: func (r Rectangle) Canon() Rectangle {
geom.go#L242: func (r Rectangle) At(x, y int) color.Color {
geom.go#L250: func (r Rectangle) RGBA64At(x, y int) color.RGBA64 {
geom.go#L258: func (r Rectangle) Bounds() Rectangle {
geom.go#L263: func (r Rectangle) ColorModel() color.Model {
geom.go#L270: var ZR Rectangle
geom.go#L275: func Rect(x0, y0, x1, y1 int) Rectangle {
geom.go#L282: return Rectangle{Point{x0, y0}, Point{x1, y1}}
image.go#L43: Bounds() Rectangle
image.go#L79: func pixelBufferLength(bytesPerPixel int, r Rectangle, imageTypeName string) int {
image.go#L95: Rect Rectangle
image.go#L100: func (p *RGBA) Bounds() Rectangle { return p.Rect }
image.go#L178: func (p *RGBA) SubImage(r Rectangle) Image {
image.go#L213: func NewRGBA(r Rectangle) *RGBA {
image.go#L229: Rect Rectangle
image.go#L234: func (p *RGBA64) Bounds() Rectangle { return p.Rect }
image.go#L295: func (p *RGBA64) SubImage(r Rectangle) Image {
image.go#L330: func NewRGBA64(r Rectangle) *RGBA64 {
image.go#L346: Rect Rectangle
image.go#L351: func (p *NRGBA) Bounds() Rectangle { return p.Rect }
image.go#L422: func (p *NRGBA) SubImage(r Rectangle) Image {
image.go#L457: func NewNRGBA(r Rectangle) *NRGBA {
image.go#L473: Rect Rectangle
image.go#L478: func (p *NRGBA64) Bounds() Rectangle { return p.Rect }
image.go#L566: func (p *NRGBA64) SubImage(r Rectangle) Image {
image.go#L601: func NewNRGBA64(r Rectangle) *NRGBA64 {
image.go#L617: Rect Rectangle
image.go#L622: func (p *Alpha) Bounds() Rectangle { return p.Rect }
image.go#L674: func (p *Alpha) SubImage(r Rectangle) Image {
image.go#L709: func NewAlpha(r Rectangle) *Alpha {
image.go#L725: Rect Rectangle
image.go#L730: func (p *Alpha16) Bounds() Rectangle { return p.Rect }
image.go#L785: func (p *Alpha16) SubImage(r Rectangle) Image {
image.go#L820: func NewAlpha16(r Rectangle) *Alpha16 {
image.go#L836: Rect Rectangle
image.go#L841: func (p *Gray) Bounds() Rectangle { return p.Rect }
image.go#L895: func (p *Gray) SubImage(r Rectangle) Image {
image.go#L917: func NewGray(r Rectangle) *Gray {
image.go#L933: Rect Rectangle
image.go#L938: func (p *Gray16) Bounds() Rectangle { return p.Rect }
image.go#L995: func (p *Gray16) SubImage(r Rectangle) Image {
image.go#L1017: func NewGray16(r Rectangle) *Gray16 {
image.go#L1033: Rect Rectangle
image.go#L1038: func (p *CMYK) Bounds() Rectangle { return p.Rect }
image.go#L1104: func (p *CMYK) SubImage(r Rectangle) Image {
image.go#L1126: func NewCMYK(r Rectangle) *CMYK {
image.go#L1142: Rect Rectangle
image.go#L1149: func (p *Paletted) Bounds() Rectangle { return p.Rect }
image.go#L1222: func (p *Paletted) SubImage(r Rectangle) Image {
image.go#L1266: func NewPaletted(r Rectangle, p color.Palette) *Paletted {
names.go#L40: func (c *Uniform) Bounds() Rectangle { return Rectangle{Point{-1e9, -1e9}, Point{1e9, 1e9}} }
ycbcr.go#L60: Rect Rectangle
ycbcr.go#L67: func (p *YCbCr) Bounds() Rectangle {
ycbcr.go#L120: func (p *YCbCr) SubImage(r Rectangle) Image {
ycbcr.go#L147: func yCbCrSize(r Rectangle, subsampleRatio YCbCrSubsampleRatio) (w, h, cw, ch int) {
ycbcr.go#L175: func NewYCbCr(r Rectangle, subsampleRatio YCbCrSubsampleRatio) *YCbCr {
ycbcr.go#L249: func (p *NYCbCrA) SubImage(r Rectangle) Image {
ycbcr.go#L299: func NewNYCbCrA(r Rectangle, subsampleRatio YCbCrSubsampleRatio) *NYCbCrA {
rsc.io/qr
qr.go#L102: func (c *codeImage) Bounds() image.Rectangle {
|
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |