Click here to Skip to main content
15,868,103 members
Articles / Programming Languages / C#

Per Pixel Alpha Blend in C#

Rate me:
Please Sign up or sign in to vote.
4.72/5 (73 votes)
3 Jun 20041 min read 599.4K   19.4K   191  
Demonstrates how to create per pixel alpha blending Windows
@ REM Set command switch for building debug or retail (default is to build debug)
@ REM Type "build.bat -r" to build for retail
@ SET DEBUGSAMPLE=/debug+ /d:DEBUG
@ IF "%1"=="-r" SET DEBUGSAMPLE=/debug- /optimize+
@ IF "%1"=="-R" SET DEBUGSAMPLE=/debug- /optimize+

csc.exe /nologo /target:winexe %DEBUGSAMPLE% /R:System.DLL /out:bin/main.exe main.cs PerPixelAlphaForm.cs

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


Written By
Web Developer
Portugal Portugal
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions