type image/color.Gray16
11 uses
image/color (current package)
color.go#L131: type Gray16 struct {
color.go#L135: func (c Gray16) RGBA() (r, g, b, a uint32) {
color.go#L264: if _, ok := c.(Gray16); ok {
color.go#L276: return Gray16{uint16(y)}
color.go#L343: Black = Gray16{0}
color.go#L344: White = Gray16{0xffff}
image
image.go#L949: func (p *Gray16) Gray16At(x, y int) color.Gray16 {
image.go#L951: return color.Gray16{}
image.go#L954: return color.Gray16{uint16(p.Pix[i+0])<<8 | uint16(p.Pix[i+1])}
image.go#L968: c1 := color.Gray16Model.Convert(c).(color.Gray16)
image.go#L984: func (p *Gray16) SetGray16(x, y int, c color.Gray16) {
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. |