PocketMatrix forums

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

Small error in online docs?

I believe there is a small error in the online CGapiSurface documentation.

It states that AlphaBlt and AlphaBltFast have IDirectDrawSurface7 counterparts. I believe this is not true. Blt and BltFast do, but there is no AlphaBlt in DirectDrawSurface7.

If there is, please let me know so I can educate myself.

--Tata!
Hi,

Perhaps they removed it. :) I mostly use the old documentation from DirectDrawSurface5 (which is available on the web).

Anyways, the AlphaBlt in DirectDraw was really crappy and not suitable for many applications. Basically one had to attach an alpha surface to a surface before being able to blit. It was also impossible to do animations of alpha surfaces in DDraw (without re-attaching and so on). If an application was built using DDraw 5 today and used AlphaBlt, making it work with GapiDraw would be a simple task since the AlphaBlt in GapiDraw provides so much more.

Best regards,
Johan