Table of Contents

SetReadAddress

Sets a bitmap's read address.

Synopsis

Err SetReadAddress (Item bitmapItem,ubyte *buffer,int32 width)

Description

This call sets the read pointer to the bitmap to the specified buffer that contains the specified pixel width. After calling SetReadAddress(), the specified buffer is used to render cels by reading from a source buffer before writing to the destination buffer.

Arguments

Return Value

The call returns 0 if successful or an error code (a negative value) if an error occurs.

Implementation

Folio call implemented in Graphics folio V20.

Associated Files

graphics.h, graphics.lib

See Also

ResetReadAddress()