示例#1
0
文件: Form1.cs 项目: worntunic/MMSHW
        private void HW_Filter_SphereOffCenter(object sender, EventArgs e)
        {
            int xMid = GetIntInput();
            int yMid = GetIntInput();

            Console.WriteLine($"SphereOffCenter");
            PixelPoint midPoint = new PixelPoint(xMid, yMid);

            m_Bitmap = StockFilters.Sphere(m_Bitmap, midPoint);
            this.Invalidate();
        }
示例#2
0
文件: Form1.cs 项目: worntunic/MMSHW
 private void HW_Filter_Sphere(object sender, EventArgs e)
 {
     Console.WriteLine($"Sphere");
     m_Bitmap = StockFilters.Sphere(m_Bitmap);
     this.Invalidate();
 }