PocketMatrix forums

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

Does GapiDraw support AlphaBlending for PocketPCs?

Hello,

Although I spent singnificant time reading on GapiDraw, I just found this confusing:

This page say, that GapiDraw does support AlphaBlending for PocketPC with WindowsMobile:
http://www.gapidraw.com/gapidraw-features.php

'Surfaces with alpha channel. RGBA surfaces, for easy-to-use surfaces with embedded alpha information
Yes
Windows and Windows Mobile'

On the other hand, based on this page - http://www.gapidraw.com/docs/gapidraw/3 ... -frame.htm - 'CGapiRGBASurface is only available for the Win32 platforms'.

I think therefore if RGBA - or alphablending is supported by Windows Mobile 2003 SE, and if yes, if it is comfortable to use.

Thank you a lot,
Rene.
Bunkai wrote:Is RGBA - or alphablending is supported by Windows Mobile 2003 SE, and if yes, if it is comfortable to use.


Hi Rene,

Alphablending is available on all platforms supported by GapiDraw and is very straightforward to use.

RGBA surfaces is "easier" way to use alphablends and is supported on all Win32 platforms, including all Pocket PCs, Smartphones and Stationary PCs. This also includes Windows Mobile 2003. :-)

Cheers
Johan
Thank you Johan,
Have a nice day,
Rene.
I'm trying to create a GapiRGBASurface via the C API and its failing with an access violation code 0xC0000005 and it happens with both the filepath and width/height functions.

GAPIDRAW_API HRESULT __stdcall CGapiRGBASurface_CreateSurfaceFromFile(CGapiRGBASurface* pSurface, DWORD dwFlags, const _TCHAR* pImageFile);
Oops I forgot to fix the RGBASurface class as I had done ages ago to the Surface class as mentioned here:
http://www.pocketmatrix.com/forums/view ... +violation

I really need to get this .net API Im using on google code or something so every one can benefit from the fixes.