1 Star 0 Fork 0

register / graphics-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
doc.go 676 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhaoce 提交于 2018-03-23 11:19 . add google graphics code commit
// Copyright 2012 The Graphics-Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
/*
Package interp implements image interpolation.
An interpolator provides the Interp interface, which can be used
to interpolate a pixel:
c := interp.Bilinear.Interp(src, 1.2, 1.8)
To interpolate a large number of RGBA or Gray pixels, an implementation
may provide a fast-path by implementing the RGBA or Gray interfaces.
i1, ok := i.(interp.RGBA)
if ok {
c := i1.RGBA(src, 1.2, 1.8)
// use c.R, c.G, etc
return
}
c := i.Interp(src, 1.2, 1.8)
// use generic color.Color
*/
package interp
Go
1
https://gitee.com/register2019/graphics-go.git
git@gitee.com:register2019/graphics-go.git
register2019
graphics-go
graphics-go
6e9c5fa68587

搜索帮助

53164aa7 5694891 3bd8fe86 5694891