Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for alphaNode (0.17 sec)

  1. src/image/draw/bench_test.go

    }
    
    func BenchmarkGlyphOver(b *testing.B) {
    	bench(b, color.RGBAModel, nil, color.AlphaModel, Over)
    }
    
    func BenchmarkRGBAMaskOver(b *testing.B) {
    	bench(b, color.RGBAModel, color.RGBAModel, color.AlphaModel, Over)
    }
    
    func BenchmarkGrayMaskOver(b *testing.B) {
    	bench(b, color.RGBAModel, color.GrayModel, color.AlphaModel, Over)
    }
    
    func BenchmarkRGBA64ImageMaskOver(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. src/image/color/color.go

    var (
    	RGBAModel    Model = ModelFunc(rgbaModel)
    	RGBA64Model  Model = ModelFunc(rgba64Model)
    	NRGBAModel   Model = ModelFunc(nrgbaModel)
    	NRGBA64Model Model = ModelFunc(nrgba64Model)
    	AlphaModel   Model = ModelFunc(alphaModel)
    	Alpha16Model Model = ModelFunc(alpha16Model)
    	GrayModel    Model = ModelFunc(grayModel)
    	Gray16Model  Model = ModelFunc(gray16Model)
    )
    
    func rgbaModel(c Color) Color {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. src/image/png/writer.go

    		} else {
    			e.cb = cbP8
    		}
    	} else {
    		switch m.ColorModel() {
    		case color.GrayModel:
    			e.cb = cbG8
    		case color.Gray16Model:
    			e.cb = cbG16
    		case color.RGBAModel, color.NRGBAModel, color.AlphaModel:
    			if opaque(m) {
    				e.cb = cbTC8
    			} else {
    				e.cb = cbTCA8
    			}
    		default:
    			if opaque(m) {
    				e.cb = cbTC16
    			} else {
    				e.cb = cbTCA16
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. src/image/image.go

    	Pix []uint8
    	// Stride is the Pix stride (in bytes) between vertically adjacent pixels.
    	Stride int
    	// Rect is the image's bounds.
    	Rect Rectangle
    }
    
    func (p *Alpha) ColorModel() color.Model { return color.AlphaModel }
    
    func (p *Alpha) Bounds() Rectangle { return p.Rect }
    
    func (p *Alpha) At(x, y int) color.Color {
    	return p.AlphaAt(x, y)
    }
    
    func (p *Alpha) RGBA64At(x, y int) color.RGBA64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 34.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(RGBA64).RGBA", Method, 0},
    		{"(YCbCr).RGBA", Method, 0},
    		{"Alpha", Type, 0},
    		{"Alpha.A", Field, 0},
    		{"Alpha16", Type, 0},
    		{"Alpha16.A", Field, 0},
    		{"Alpha16Model", Var, 0},
    		{"AlphaModel", Var, 0},
    		{"Black", Var, 0},
    		{"CMYK", Type, 5},
    		{"CMYK.C", Field, 5},
    		{"CMYK.K", Field, 5},
    		{"CMYK.M", Field, 5},
    		{"CMYK.Y", Field, 5},
    		{"CMYKModel", Var, 5},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top