Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 220 for Colors (0.2 sec)

  1. src/image/png/writer.go

    			e.cb = cbP4
    		} 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)
  2. src/go/types/object.go

    	name      string
    	typ       Type
    	order_    uint32
    	color_    color
    	scopePos_ token.Pos
    }
    
    // color encodes the color of an object (see Checker.objDecl for details).
    type color uint32
    
    // An object may be painted in one of three colors.
    // Color values other than white or black are considered grey.
    const (
    	white color = iota
    	black
    	grey // must be > white and black
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/reference/command_line_interface.adoc

    `--console=(auto,plain,rich,verbose)`::
    Specifies which type of console output to generate.
    +
    Set to `plain` to generate plain text only. This option disables all color and other rich output in the console output. This is the default when Gradle is _not_ attached to a terminal.
    +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/object.go

    	pkg       *Package
    	name      string
    	typ       Type
    	order_    uint32
    	color_    color
    	scopePos_ syntax.Pos
    }
    
    // color encodes the color of an object (see Checker.objDecl for details).
    type color uint32
    
    // An object may be painted in one of three colors.
    // Color values other than white or black are considered grey.
    const (
    	white color = iota
    	black
    	grey // must be > white and black
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

        }
        return elem;
      }
    
      function makeColor(index) {
        // Rotate hue around a circle. Multiple by phi to spread things
        // out better. Use 50% saturation to make subdued colors, and
        // 80% lightness to have good contrast with black foreground text.
        const PHI = 1.618033988;
        const hue = (index+1) * PHI * 2 * Math.PI; // +1 to avoid 0
        const hsl = `hsl(${hue}rad 50% 80%)`;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. src/image/color/palette/palette.go

    	color.RGBA{0x00, 0x00, 0xcc, 0xff},
    	color.RGBA{0x00, 0x44, 0x00, 0xff},
    	color.RGBA{0x00, 0x44, 0x44, 0xff},
    	color.RGBA{0x00, 0x44, 0x88, 0xff},
    	color.RGBA{0x00, 0x44, 0xcc, 0xff},
    	color.RGBA{0x00, 0x88, 0x00, 0xff},
    	color.RGBA{0x00, 0x88, 0x44, 0xff},
    	color.RGBA{0x00, 0x88, 0x88, 0xff},
    	color.RGBA{0x00, 0x88, 0xcc, 0xff},
    	color.RGBA{0x00, 0xcc, 0x00, 0xff},
    	color.RGBA{0x00, 0xcc, 0x44, 0xff},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  7. src/image/gif/reader.go

    	return nil
    }
    
    func (d *decoder) readColorTable(fields byte) (color.Palette, error) {
    	n := 1 << (1 + uint(fields&fColorTableBitsMask))
    	err := readFull(d.r, d.tmp[:3*n])
    	if err != nil {
    		return nil, fmt.Errorf("gif: reading color table: %s", err)
    	}
    	j, p := 0, make(color.Palette, n)
    	for i := range p {
    		p[i] = color.RGBA{d.tmp[j+0], d.tmp[j+1], d.tmp[j+2], 0xFF}
    		j += 3
    	}
    	return p, nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. src/image/image.go

    	// equivalent to calling At(x, y).RGBA() and converting the resulting
    	// 32-bit return values to a color.RGBA64, but it can avoid allocations
    	// from converting concrete color types to the color.Color interface type.
    	RGBA64At(x, y int) color.RGBA64
    	Image
    }
    
    // PalettedImage is an image whose colors may come from a limited palette.
    // If m is a PalettedImage and m.ColorModel() returns a [color.Palette] p,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 34.9K bytes
    - Viewed (0)
  9. src/image/png/reader.go

    			}
    		}
    	}
    
    	var cm color.Model
    	switch d.cb {
    	case cbG1, cbG2, cbG4, cbG8:
    		cm = color.GrayModel
    	case cbGA8:
    		cm = color.NRGBAModel
    	case cbTC8:
    		cm = color.RGBAModel
    	case cbP1, cbP2, cbP4, cbP8:
    		cm = d.palette
    	case cbTCA8:
    		cm = color.NRGBAModel
    	case cbG16:
    		cm = color.Gray16Model
    	case cbGA16:
    		cm = color.NRGBA64Model
    	case cbTC16:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/term/terminal.go

    	"strconv"
    	"sync"
    	"unicode/utf8"
    )
    
    // EscapeCodes contains escape sequences that can be written to the terminal in
    // order to achieve different styles of text.
    type EscapeCodes struct {
    	// Foreground colors
    	Black, Red, Green, Yellow, Blue, Magenta, Cyan, White []byte
    
    	// Reset all attributes
    	Reset []byte
    }
    
    var vt100EscapeCodes = EscapeCodes{
    	Black:   []byte{keyEscape, '[', '3', '0', 'm'},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 22.5K bytes
    - Viewed (0)
Back to top