4128 views|5 replies

84

Posts

0

Resources
The OP

I am using WINCE5.0 and EVC4.0 as my development software. How can I achieve image fade in and fade out? EVC4.0 does not support the function AlphaBlen. [Copy link]

As title
This post is from Embedded System

Latest reply

It is not possible to achieve this kind of gradient effect with EVC4 using GDI. However, the effects of blinds, raindrops, and sliding windows can still be achieved. For example: [url=http://www.evccode.com/ch/ProductView.asp?ID=6][/url] Fade-in and fade-out can also be achieved by using third-party libraries such as GAPI or OpenGL ES. (This is achievable, but the libraries are not free at present.)  Details Published on 2009-6-25 14:38

98

Posts

0

Resources
2
Bang Ding.
This post is from Embedded System

75

Posts

0

Resources
3
LZ can give up now, it's basically impossible to achieve
This post is from Embedded System

77

Posts

0

Resources
4
Following
This post is from Embedded System

66

Posts

0

Resources
5
Write your own algorithm, or search directly on the Internet~ Here's an idea for you: Fade-in and fade-out effects (or other effects such as rotation, blinds, raindrops, etc.) are nothing more than operating the background and foreground images~ 1. First get the foreground and background bitmap data CreateDIBSection 2. Perform algorithmic processing on the two bitmap buffer data, ForBuff, BackBuff, and then get a new bitmap NewBuff 3. Fade-in and fade-out effect definitions, such as 10%, 20%, 40%, 60%, 80%, 100% (relative to foreground) 4. NewBuff.RGB.R = ForBuff.RGB.R*(10%) + BackBuff.RGB.R*(90%); .... 5. BitBlt NewBuff
This post is from Embedded System

66

Posts

0

Resources
6
It is not possible to achieve this kind of gradient effect with EVC4 using GDI. However, the effects of blinds, raindrops, and sliding windows can still be achieved. For example: [url=http://www.evccode.com/ch/ProductView.asp?ID=6][/url] Fade-in and fade-out can also be achieved by using third-party libraries such as GAPI or OpenGL ES. (This is achievable, but the libraries are not free at present.)
This post is from Embedded System

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

    EEWorld
    subscription
    account

    EEWorld
    service
    account

    Automotive
    development
    circle

    Robot
    development
    community

    Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
    快速回复 返回顶部 Return list