RotateBitmap

Sets the software rasteriser active drawing buffer.

Declaration

void * NAPI REF2D_driver::RotateBitmap(
    void *src,
    N_int32 bitsPerPixel,
    N_int32 *stride,
    N_int32 width,
    N_int32 height)

Prototype In

snap/ref2d.h

Parameters

src

Pointer to the source bitmap to rotate

bitsPerPixel

Pixel depth of the source bitmap in bits

stride

Stride of the source bitmap in bytes

width

Width of the source bitmap

height

Height of the source bitmap

 

Return Value

Pointer to the rotated bitmap image in video memory

Description

This optional function, when implemented, will perform any necessary rotation or transformations on the source bitmap in as needed by the active filter drivers (ie: rotation, flipped, multi-controller etc). The resulting rotated or transformed bitmap will be stored in offscreen video memory, and a pointer to it returned to the caller.

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com