PocketMatrix forums

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

Edge SDK 2.20 released

Elements Interactive B.V. releases version 2.20 of its multi-platform mobile game engine Edge. This new release adds DirectX hardware support (DirectDraw) for both Windows Desktop and Windows Mobile 5.

Other new features include the ability to read available video memory, getting detailed surface information, a function to retrieve the current date and time and a feature to quickly replace one surface color with another. A full list of additions and changes can be found on the product website located at http://www.edgelib.com.

Edge licensees are entitled to download and install the commercial version of the new Edge SDK to take advantage of DirectDraw. An evaluation version can be downloaded for free as well.
izeman · 31 Jan 2006, 13:18 UTC — accessing the graphics surface
is there any way to directly access the surface buffers other than using the GetPixel and PutPixel methods?

their site doesn't have any forums and i don't want to register just to ask a single question :). i suppose someone here has used this library.

... great library! has a built-in network class.
Hello Izeman,

You can access a surface directly by calling E2DSurface::Lock(E2DSURFACEINFO *info).

This function returns a pointer to the bitmap data, passing an info structure is optional (this can be NULL). When using this memory, add info->bufferoffset to the returned pointer and use the info->xpitch and info->ypitch members to modify the pixel data. More information can be found here: http://www.edgelib.com/index.php?node=285&keyword=lock