type image.Rectangle
91 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#L172: return 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#L59: Bounds() Rectangle
image.go#L95: func pixelBufferLength(bytesPerPixel int, r Rectangle, imageTypeName string) int {
image.go#L111: Rect Rectangle
image.go#L116: func (p *RGBA) Bounds() Rectangle { return p.Rect }
image.go#L194: func (p *RGBA) SubImage(r Rectangle) Image {
image.go#L229: func NewRGBA(r Rectangle) *RGBA {
image.go#L245: Rect Rectangle
image.go#L250: func (p *RGBA64) Bounds() Rectangle { return p.Rect }
image.go#L311: func (p *RGBA64) SubImage(r Rectangle) Image {
image.go#L346: func NewRGBA64(r Rectangle) *RGBA64 {
image.go#L362: Rect Rectangle
image.go#L367: func (p *NRGBA) Bounds() Rectangle { return p.Rect }
image.go#L438: func (p *NRGBA) SubImage(r Rectangle) Image {
image.go#L473: func NewNRGBA(r Rectangle) *NRGBA {
image.go#L489: Rect Rectangle
image.go#L494: func (p *NRGBA64) Bounds() Rectangle { return p.Rect }
image.go#L582: func (p *NRGBA64) SubImage(r Rectangle) Image {
image.go#L617: func NewNRGBA64(r Rectangle) *NRGBA64 {
image.go#L633: Rect Rectangle
image.go#L638: func (p *Alpha) Bounds() Rectangle { return p.Rect }
image.go#L690: func (p *Alpha) SubImage(r Rectangle) Image {
image.go#L725: func NewAlpha(r Rectangle) *Alpha {
image.go#L741: Rect Rectangle
image.go#L746: func (p *Alpha16) Bounds() Rectangle { return p.Rect }
image.go#L801: func (p *Alpha16) SubImage(r Rectangle) Image {
image.go#L836: func NewAlpha16(r Rectangle) *Alpha16 {
image.go#L852: Rect Rectangle
image.go#L857: func (p *Gray) Bounds() Rectangle { return p.Rect }
image.go#L911: func (p *Gray) SubImage(r Rectangle) Image {
image.go#L933: func NewGray(r Rectangle) *Gray {
image.go#L949: Rect Rectangle
image.go#L954: func (p *Gray16) Bounds() Rectangle { return p.Rect }
image.go#L1011: func (p *Gray16) SubImage(r Rectangle) Image {
image.go#L1033: func NewGray16(r Rectangle) *Gray16 {
image.go#L1049: Rect Rectangle
image.go#L1054: func (p *CMYK) Bounds() Rectangle { return p.Rect }
image.go#L1120: func (p *CMYK) SubImage(r Rectangle) Image {
image.go#L1142: func NewCMYK(r Rectangle) *CMYK {
image.go#L1158: Rect Rectangle
image.go#L1165: func (p *Paletted) Bounds() Rectangle { return p.Rect }
image.go#L1238: func (p *Paletted) SubImage(r Rectangle) Image {
image.go#L1282: 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.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |