Example #1
0
        public static Bitmap Sphere(Bitmap bitmap, PixelPoint pixelPoint)
        {
            SphereFilter sFilter = new SphereFilter(pixelPoint);

            return(sFilter.ApplyFilter(bitmap));
        }
Example #2
0
        public static Bitmap Sphere(Bitmap bitmap)
        {
            SphereFilter sFilter = new SphereFilter(new PixelPoint(bitmap.Width / 2, bitmap.Height / 2));

            return(sFilter.ApplyFilter(bitmap));
        }