- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for nrgba64 (0.15 sec)
-
src/image/image.go
Rect Rectangle } func (p *NRGBA64) ColorModel() color.Model { return color.NRGBA64Model } func (p *NRGBA64) Bounds() Rectangle { return p.Rect } func (p *NRGBA64) At(x, y int) color.Color { return p.NRGBA64At(x, y) } func (p *NRGBA64) RGBA64At(x, y int) color.RGBA64 { r, g, b, a := p.NRGBA64At(x, y).RGBA() return color.RGBA64{uint16(r), uint16(g), uint16(b), uint16(a)} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 34.9K bytes - Viewed (0) -
src/image/png/reader.go
img = nrgba64 } else { gray16 = image.NewGray16(image.Rect(0, 0, width, height)) img = gray16 } case cbGA16: bitsPerPixel = 32 nrgba64 = image.NewNRGBA64(image.Rect(0, 0, width, height)) img = nrgba64 case cbTC16: bitsPerPixel = 48 if d.useTransparent { nrgba64 = image.NewNRGBA64(image.Rect(0, 0, width, height)) img = nrgba64 } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 26K bytes - Viewed (0) -
src/image/color/color.go
g = (g * 0xffff) / a b = (b * 0xffff) / a return NRGBA{uint8(r >> 8), uint8(g >> 8), uint8(b >> 8), uint8(a >> 8)} } func nrgba64Model(c Color) Color { if _, ok := c.(NRGBA64); ok { return c } r, g, b, a := c.RGBA() if a == 0xffff { return NRGBA64{uint16(r), uint16(g), uint16(b), 0xffff} } if a == 0 { return NRGBA64{0, 0, 0, 0} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 8.3K bytes - Viewed (0) -
src/image/image_test.go
} var testImages = []struct { name string image func() image }{ {"rgba", func() image { return NewRGBA(Rect(0, 0, 10, 10)) }}, {"rgba64", func() image { return NewRGBA64(Rect(0, 0, 10, 10)) }}, {"nrgba", func() image { return NewNRGBA(Rect(0, 0, 10, 10)) }}, {"nrgba64", func() image { return NewNRGBA64(Rect(0, 0, 10, 10)) }}, {"alpha", func() image { return NewAlpha(Rect(0, 0, 10, 10)) }},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 30 02:00:49 UTC 2021 - 10.8K bytes - Viewed (0) -
src/image/png/reader_test.go
} else { fmt.Fprintf(w, "%02x%02x%02x%02x ", nrgba.R, nrgba.G, nrgba.B, nrgba.A) } } } case cm == color.NRGBA64Model: for x := bounds.Min.X; x < bounds.Max.X; x++ { nrgba64 := png.At(x, y).(color.NRGBA64) switch filename { case "ftbwn0g16": fmt.Fprintf(w, "%04x ", nrgba64.R) default: if useTransparent {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 24 12:12:12 UTC 2022 - 28.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/composite/whitelist.go
"image/color.Alpha16": true, "image/color.Alpha": true, "image/color.CMYK": true, "image/color.Gray16": true, "image/color.Gray": true, "image/color.NRGBA64": true, "image/color.NRGBA": true, "image/color.NYCbCrA": true, "image/color.RGBA64": true, "image/color.RGBA": true, "image/color.YCbCr": true, "image.Point": true, "image.Rectangle": true, "image.Uniform": true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 17 00:08:36 UTC 2022 - 1.1K bytes - Viewed (0) -
api/go1.17.txt
pkg image, method (*Gray16) RGBA64At(int, int) color.RGBA64 pkg image, method (*Gray16) SetRGBA64(int, int, color.RGBA64) pkg image, method (*NRGBA) RGBA64At(int, int) color.RGBA64 pkg image, method (*NRGBA) SetRGBA64(int, int, color.RGBA64) pkg image, method (*NRGBA64) RGBA64At(int, int) color.RGBA64 pkg image, method (*NRGBA64) SetRGBA64(int, int, color.RGBA64) pkg image, method (*NYCbCrA) RGBA64At(int, int) color.RGBA64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 18K bytes - Viewed (0) -
src/image/draw/draw_test.go
var ( opaqueGray = color.NRGBA{0x99, 0x99, 0x99, 0xff} transparentBlue = color.NRGBA{0x00, 0x00, 0xff, 0x00} transparentGreen = color.NRGBA{0x00, 0xff, 0x00, 0x00} transparentRed = color.NRGBA{0xff, 0x00, 0x00, 0x00} opaqueGray64 = color.NRGBA64{0x9999, 0x9999, 0x9999, 0xffff} transparentPurple64 = color.NRGBA64{0xfedc, 0x0000, 0x7654, 0x0000} )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 18:07:05 UTC 2023 - 26K bytes - Viewed (0) -
src/image/draw/draw.go
return } } case *image.NRGBA: if op == Src && mask == nil { if src0, ok := src.(*image.NRGBA); ok { d0 := dst0.PixOffset(r.Min.X, r.Min.Y) s0 := src0.PixOffset(sp.X, sp.Y) drawCopySrc( dst0.Pix[d0:], dst0.Stride, r, src0.Pix[s0:], src0.Stride, sp, 4*r.Dx()) return } } case *image.NRGBA64: if op == Src && mask == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 17:08:05 UTC 2024 - 33.9K bytes - Viewed (0) -
api/go1.4.txt
pkg image, method (*Gray16) Gray16At(int, int) color.Gray16 pkg image, method (*NRGBA) NRGBAAt(int, int) color.NRGBA pkg image, method (*NRGBA64) NRGBA64At(int, int) color.NRGBA64 pkg image, method (*RGBA) RGBAAt(int, int) color.RGBA pkg image, method (*RGBA64) RGBA64At(int, int) color.RGBA64 pkg image, method (*YCbCr) YCbCrAt(int, int) color.YCbCr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 12 03:01:01 UTC 2014 - 34K bytes - Viewed (0)