- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for RGBA64Image (0.13 sec)
-
src/image/draw/draw.go
image.Image Set(x, y int, c color.Color) } // RGBA64Image extends both the [Image] and [image.RGBA64Image] interfaces with a // SetRGBA64 method to change a single pixel. SetRGBA64 is equivalent to // calling Set, but it can avoid allocations from converting concrete color // types to the [color.Color] interface type. type RGBA64Image interface { image.RGBA64Image Set(x, y int, c color.Color) SetRGBA64(x, y int, c color.RGBA64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 17:08:05 UTC 2024 - 33.9K bytes - Viewed (0) -
src/image/draw/draw_test.go
} } func init() { var p any = (*slowestRGBA)(nil) if _, ok := p.(RGBA64Image); ok { panic("slowestRGBA should not be an RGBA64Image") } } // slowerRGBA is a draw.Image like image.RGBA but it is a different type and // therefore does not trigger the draw.go fastest code paths. // // Unlike slowestRGBA, it still implements the draw.RGBA64Image interface. type slowerRGBA struct { Pix []uint8 Stride int
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/geom.go
// At implements the [Image] interface. func (r Rectangle) At(x, y int) color.Color { if (Point{x, y}).In(r) { return color.Opaque } return color.Transparent } // RGBA64At implements the [RGBA64Image] interface. func (r Rectangle) RGBA64At(x, y int) color.RGBA64 { if (Point{x, y}).In(r) { return color.RGBA64{0xffff, 0xffff, 0xffff, 0xffff} } return color.RGBA64{} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 7.3K bytes - Viewed (0) -
src/image/image.go
// At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one. At(x, y int) color.Color } // RGBA64Image is an [Image] whose pixels can be converted directly to a // color.RGBA64. type RGBA64Image interface { // RGBA64At returns the RGBA64 color of the pixel at (x, y). It is // equivalent to calling At(x, y).RGBA() and converting the resulting
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/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"RGBA.Pix", Field, 0}, {"RGBA.Rect", Field, 0}, {"RGBA.Stride", Field, 0}, {"RGBA64", Type, 0}, {"RGBA64.Pix", Field, 0}, {"RGBA64.Rect", Field, 0}, {"RGBA64.Stride", Field, 0}, {"RGBA64Image", Type, 17}, {"Rect", Func, 0}, {"Rectangle", Type, 0}, {"Rectangle.Max", Field, 0}, {"Rectangle.Min", Field, 0}, {"RegisterFormat", Func, 0}, {"Transparent", Var, 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)