This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Alpha Blitting


Alpha Blitting

Postby eugraphics » Feb 4, 2008 @ 8:26pm

eugraphics
pm Member
 
Posts: 56
Joined: Dec 3, 2006 @ 6:56pm


Postby edge » Feb 4, 2008 @ 8:55pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby eugraphics » Feb 4, 2008 @ 9:30pm

eugraphics
pm Member
 
Posts: 56
Joined: Dec 3, 2006 @ 6:56pm


Postby eugraphics » Feb 4, 2008 @ 10:03pm

eugraphics
pm Member
 
Posts: 56
Joined: Dec 3, 2006 @ 6:56pm


Postby edge » Feb 5, 2008 @ 11:31am

Hi,

Currently it's not possible to opacity blit using two surfaces. The PutPixel method may work, but is slow. I recommend not using it in time critical situations.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby eugraphics » Feb 5, 2008 @ 9:49pm

eugraphics
pm Member
 
Posts: 56
Joined: Dec 3, 2006 @ 6:56pm


Postby edge » Feb 6, 2008 @ 8:59am

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby eugraphics » Feb 6, 2008 @ 10:09pm

eugraphics
pm Member
 
Posts: 56
Joined: Dec 3, 2006 @ 6:56pm


Postby edge » Feb 7, 2008 @ 9:50am

Hi,

Please refer to my previous reply. This is currently not possible, but will be added to one of our future releases.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Villy21 » Nov 1, 2008 @ 3:16pm

User avatar
Villy21
pm Member
 
Posts: 23
Joined: Nov 1, 2008 @ 3:09pm


Postby edge » Nov 3, 2008 @ 11:39am

Hi Villy,

For fonts we recommend using RGBA surfaces and make your characters white. Then you can use the EFX_COLORFILL effect to draw fonts in several colors.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Villy21 » Nov 5, 2008 @ 12:16pm

User avatar
Villy21
pm Member
 
Posts: 23
Joined: Nov 1, 2008 @ 3:09pm


Postby edge » Nov 6, 2008 @ 10:16am

Hi Villy,

Yes, right now it's only possible to use RGBA. Do you have all the characters in a sheet, or do you generate them one by one as you draw? The first method may be better for performance.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Villy21 » Nov 6, 2008 @ 10:36am

Yes I use dynamically created surfaces for several letters.

How may time you need to add AlphaBlt from 2 surfaces feature to EDGELIB ?

Of course I can make my own function for this but I spend a bit more time for this then you. And It's harder to explain to my boss why we need to buy EDGELIB :)
User avatar
Villy21
pm Member
 
Posts: 23
Joined: Nov 1, 2008 @ 3:09pm


Postby Villy21 » Nov 11, 2008 @ 11:52am

User avatar
Villy21
pm Member
 
Posts: 23
Joined: Nov 1, 2008 @ 3:09pm


Next

Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron