Inverted Colors: Apply an inverted colors effect to the screen.
Blur Effect: Blur the screen.
Rounded Tunnel Effect: Create a rounded tunnel effect on the screen.
Hatch Brush: Apply a hatch brush to the screen.
Pattern Brush: Apply a pattern brush to the screen.
Color Filters: Apply color filters to the screen.
Melting Screen: Simulate the melting effect on the screen.
using NetGDI;
using System.Threading;
namespace NetGDI_Test
{
internal class Program
{
static void Main(string[] args)
{
// NetGDI settings
NGDISettings.InvertedColors.Enabled = true;
NGDISettings.BlurEffect.Enabled = true;
NGDISettings.BlurEffect.Interval = 10;
NGDISettings.RoundedTunnelEffect.Enabled = true;
NGDISettings.HatchBrush.Enabled = false;
NGDISettings.PatternBrush.Enabled = false;
NGDISettings.ColorFilters.Enabled = true;
NGDISettings.MeltingScreen.Enabled = true;
// Create and start thread for GDIEffects
Thread effectsThread = new Thread(() =>
{
GDIEffects netGDI = new GDIEffects();
});
effectsThread.Start();
// Your subsequent code here
// For example:
// MessageBox.Show("Are you still using it?");
}
}
}
License
This project is licensed under the MIT License - see the LICENSE file for details.
1.0.1: Added Static NGDISettings module with extra 2 settings (interval, enabled)
