简体   繁体   中英

loading a simple semi transparent PNG in Windows Mobile using C#

I am new to Windows Mobile programming. I want to load a PNG file which has an Alpha Channel. After 2 days of searching in Internet, I am still at square 1. Can someone help me? I got an example which uses uses a wrapper to access the AlphaBlend API. But when I set the AC_SRC_ALPHA flag in BlendingFunction, it does not draw anything.

I've use the WindowslessControls library from Koushik Dutta for using PNGs with an alpha channel and have found it great.

You may also want to look try Alpha Mobile Controls .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM