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(); }
private void HW_Filter_Sphere(object sender, EventArgs e) { Console.WriteLine($"Sphere"); m_Bitmap = StockFilters.Sphere(m_Bitmap); this.Invalidate(); }