PocketMatrix forums

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

BltFast modes , multiply missing

In the docs it defines GDBLTFASTFX_MULTIPLY

This is not defined in GapiDraw.h

Is this a feature that is going to be introduced?

Or is an ex-feature that shuffled off it's mortal coil ?
I'm seeing GDBLTFASTFX_MULTIPLY defined in GapiDraw.h. Are you looking at the 2.03 or 2.04 header for sure? I believe that's the version it was introduced in...
/**
* Class CGapiSurface
*
* {group:GapiDraw}
*
* Version: 2.0.0
* Date: 2003-05-01
*
* Author: Copyright (c) 2002-2003 Viktoria Institute
* URL: http://www.gapidraw.com
*/


Taken from GapiDraw.h

Doesn't really give me a clue as to which version I have got.
Right at the top of GapiDraw.h (first line in fact) is a version number. Mine reads 2.04. What do you see in the first line?

Of course, the easy answer is to go download 2.04 and install it, take all the guesswork out of the equation.
On a side note to this... I want to draw two images on top of each other using a blend mode (preferably screen but that is not currently implemented)

1) is there a way to use blend modes with two images (instead of blending with a solid color take the pixel value for each image)

2) Johan - any plans to add a screen blend mode? The algorithm is

255 - ( ((255-a) * (255*b)) >> 8 ) for each rgb value for each pixel