示例#1
0
文件: smooth.go 项目: mewbak/slide
// smooth sets ups the LazySmoothSurface with a kernel.
func (surfacer *ImageSurface) smooth() error {
	surfacer.SmoothSurface = smooth_surface.New(surfacer.Surface, surfacer.smoothKernel())
	return nil
}
示例#2
0
文件: smooth.go 项目: mewbak/slide
// smooth sets up the LazySmoothSurface with a kernel.
func (surfacer *StravaHeatSurface) smooth() error {
	surfacer.smoothSurface = smooth_surface.New(surfacer.surface, surfacer.smoothKernel())
	return nil
}
示例#3
0
文件: smooth.go 项目: mewbak/slide
// smooth sets up the LazySmoothSurface with a kernel.
func (surfacer *TileOverlaySurface) smooth() error {
	surfacer.SmoothSurface = smooth_surface.New(surfacer.Surface, surfacer.smoothKernel())
	return nil
}