- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for SetCMYK (0.18 sec)
-
src/image/draw/bench_test.go
case nil: src = &image.Uniform{C: color.RGBA{0x11, 0x22, 0x33, 0x44}} case color.CMYKModel: src1 := image.NewCMYK(image.Rect(0, 0, srcw, srch)) for y := 0; y < srch; y++ { for x := 0; x < srcw; x++ { src1.SetCMYK(x, y, color.CMYK{ uint8(13 * x % 0x100), uint8(11 * y % 0x100), uint8((11*x + 13*y) % 0x100), uint8((31*x + 37*y) % 0x100), }) } } src = src1 case color.GrayModel:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 18:07:05 UTC 2023 - 6.6K bytes - Viewed (0) -
src/image/image.go
i := p.PixOffset(x, y) s := p.Pix[i : i+4 : i+4] // Small cap improves performance, see https://golang.org/issue/27857 s[0] = cc s[1] = mm s[2] = yy s[3] = kk } func (p *CMYK) SetCMYK(x, y int, c color.CMYK) { if !(Point{x, y}.In(p.Rect)) { return } i := p.PixOffset(x, y) s := p.Pix[i : i+4 : i+4] // Small cap improves performance, see https://golang.org/issue/27857 s[0] = c.C
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 34.9K bytes - Viewed (0) -
api/go1.5.txt
pkg image, method (*CMYK) ColorModel() color.Model pkg image, method (*CMYK) Opaque() bool pkg image, method (*CMYK) PixOffset(int, int) int pkg image, method (*CMYK) Set(int, int, color.Color) pkg image, method (*CMYK) SetCMYK(int, int, color.CMYK) pkg image, method (*CMYK) SubImage(Rectangle) Image pkg image, method (Rectangle) At(int, int) color.Color pkg image, method (Rectangle) Bounds() Rectangle
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(*CMYK).ColorModel", Method, 5}, {"(*CMYK).Opaque", Method, 5}, {"(*CMYK).PixOffset", Method, 5}, {"(*CMYK).RGBA64At", Method, 17}, {"(*CMYK).Set", Method, 5}, {"(*CMYK).SetCMYK", Method, 5}, {"(*CMYK).SetRGBA64", Method, 17}, {"(*CMYK).SubImage", Method, 5}, {"(*Gray).At", Method, 0}, {"(*Gray).Bounds", Method, 0}, {"(*Gray).ColorModel", Method, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)