PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Suggestion to EDGELIB

1.ClassEDisplay::Blt(),
this function should add two param(long flags = 0, unsigned long property = 0) so that it may like E2DSurface::Blt();

2.I want to know the date exact when will E2DSurface::Blt() function support E2DSurfaceRGBA.
Hi,

Instead of passing the parameters to Blt directly, you need to specify your blitting flags and properties using the ClassEDisplay::SetShading method. For example:

Code:

display->SetShading(E3D_TEXTURE | EFX_COLORIZE, E_RGBA(255, 0, 0, 255));
display->Blt(...);


Regarding RGBA blitting:
We take this into consideration for a future release. Also we can't provide specific dates on future releases unfortunately. Alternatively you may want to enable OpenGL in EDGELIB to be able to rotate RGBA images and get the best performance.