コード例 #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
}