Graphics display

Home / Features / Graphics display

EDGELIB contains a graphics engine to draw 2D and 3D graphics on each device in fullscreen. For desktop and Windows Mobile devices, the display can be shown in a window as well.

EDGELIB 2.20 introduced optional DirectDraw support for Windows Mobile. As of EDGELIB 2.70 the Direct Screen Access API is used for Symbian which doesn't conflict with the window server and increases application stability.

Li-Nuggz Smartphone
Li-Nuggz Smartphone

The graphics engine draws graphics in the native color depth of the device by default, no color conversion has to be made. Developers can also create surfaces of a custom ('emulated') color depth. Color conversion will be handled automatically when blitting from a surface to another with a different color depth.

The display class supports 8, 12, 15, 16, 24 and 32 bits color depths. EDGELIB also supports Symbian devices with an "18 bit" lcd display, such as the Nokia 6680 phone.

12 bit (444)
12 bit (444)
16 bit (565)
16 bit (565)
24 bit (888)
24 bit (888)
12 bit (444) dithered
12 bit (444) dithered

Additionally, EDGELIB supports optional dithering to improve the display of images on displays with low color depths. EDGELIB can apply a dithering algorithm automatically at load-time when opening an image.

It's also possible to emulate another color depth with a simple configuration option. This is useful to see how game graphics will look on devices with a low amount of colors. For example, the N-Gage with 4096 colors.

Back to Features

Latest forum posts