Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


Bitmap operations

A graphics context also provides bitmap primitives allowing two ways of drawing a bitmap on a graphics device:

A linear DDA is used when calculating bitmap stretching and compression.

Scaling a bitmap is unavoidably slow, and where possible it is better to use the faster bitmap operations provided by a bitmap graphics context, such as CBitmapContext::BitBlt().

If the bitmap has to be scaled, consider creating a bitmap to do this off-screen. The scaled bitmap can then be blitted to the screen.

[Top]


See also

How to draw bitmaps

How to create and draw to an off-screen bitmap

The linear DDA