type image.Rectangle
89 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) Bounds() Rectangle {
geom.go#L255: func (r Rectangle) ColorModel() color.Model {
geom.go#L262: var ZR Rectangle
geom.go#L267: func Rect(x0, y0, x1, y1 int) Rectangle {
geom.go#L274: return Rectangle{Point{x0, y0}, Point{x1, y1}}
image.go#L41: Bounds() Rectangle
image.go#L66: func pixelBufferLength(bytesPerPixel int, r Rectangle, imageTypeName string) int {
image.go#L82: Rect Rectangle
image.go#L87: func (p *RGBA) Bounds() Rectangle { return p.Rect }
image.go#L135: func (p *RGBA) SubImage(r Rectangle) Image {
image.go#L170: func NewRGBA(r Rectangle) *RGBA {
image.go#L186: Rect Rectangle
image.go#L191: func (p *RGBA64) Bounds() Rectangle { return p.Rect }
image.go#L252: func (p *RGBA64) SubImage(r Rectangle) Image {
image.go#L287: func NewRGBA64(r Rectangle) *RGBA64 {
image.go#L303: Rect Rectangle
image.go#L308: func (p *NRGBA) Bounds() Rectangle { return p.Rect }
image.go#L356: func (p *NRGBA) SubImage(r Rectangle) Image {
image.go#L391: func NewNRGBA(r Rectangle) *NRGBA {
image.go#L407: Rect Rectangle
image.go#L412: func (p *NRGBA64) Bounds() Rectangle { return p.Rect }
image.go#L473: func (p *NRGBA64) SubImage(r Rectangle) Image {
image.go#L508: func NewNRGBA64(r Rectangle) *NRGBA64 {
image.go#L524: Rect Rectangle
image.go#L529: func (p *Alpha) Bounds() Rectangle { return p.Rect }
image.go#L567: func (p *Alpha) SubImage(r Rectangle) Image {
image.go#L602: func NewAlpha(r Rectangle) *Alpha {
image.go#L618: Rect Rectangle
image.go#L623: func (p *Alpha16) Bounds() Rectangle { return p.Rect }
image.go#L664: func (p *Alpha16) SubImage(r Rectangle) Image {
image.go#L699: func NewAlpha16(r Rectangle) *Alpha16 {
image.go#L715: Rect Rectangle
image.go#L720: func (p *Gray) Bounds() Rectangle { return p.Rect }
image.go#L758: func (p *Gray) SubImage(r Rectangle) Image {
image.go#L780: func NewGray(r Rectangle) *Gray {
image.go#L796: Rect Rectangle
image.go#L801: func (p *Gray16) Bounds() Rectangle { return p.Rect }
image.go#L842: func (p *Gray16) SubImage(r Rectangle) Image {
image.go#L864: func NewGray16(r Rectangle) *Gray16 {
image.go#L880: Rect Rectangle
image.go#L885: func (p *CMYK) Bounds() Rectangle { return p.Rect }
image.go#L933: func (p *CMYK) SubImage(r Rectangle) Image {
image.go#L955: func NewCMYK(r Rectangle) *CMYK {
image.go#L971: Rect Rectangle
image.go#L978: func (p *Paletted) Bounds() Rectangle { return p.Rect }
image.go#L1023: func (p *Paletted) SubImage(r Rectangle) Image {
image.go#L1067: 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#L59: Rect Rectangle
ycbcr.go#L66: func (p *YCbCr) Bounds() Rectangle {
ycbcr.go#L114: func (p *YCbCr) SubImage(r Rectangle) Image {
ycbcr.go#L141: func yCbCrSize(r Rectangle, subsampleRatio YCbCrSubsampleRatio) (w, h, cw, ch int) {
ycbcr.go#L169: func NewYCbCr(r Rectangle, subsampleRatio YCbCrSubsampleRatio) *YCbCr {
ycbcr.go#L238: func (p *NYCbCrA) SubImage(r Rectangle) Image {
ycbcr.go#L288: func NewNYCbCrA(r Rectangle, subsampleRatio YCbCrSubsampleRatio) *NYCbCrA {
image/internal/imageutil
impl.go#L16: func DrawYCbCr(dst *image.RGBA, r image.Rectangle, src *image.YCbCr, sp image.Point) (ok bool) {
 |
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. |