Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for drawPaletted (0.21 sec)

  1. src/image/draw/draw.go

    type floydSteinberg struct{}
    
    func (floydSteinberg) Draw(dst Image, r image.Rectangle, src image.Image, sp image.Point) {
    	clip(dst, &r, src, &sp, nil, nil)
    	if r.Empty() {
    		return
    	}
    	drawPaletted(dst, r, src, sp, true)
    }
    
    // clip clips r against each image's bounds (after translating into the
    // destination image's coordinate space) and shifts the points sp and mp by
    // the same amount as the change in r.Min.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top