formZ SDK | 5.0 API Reference | Project | File Formats | Structured File Translator | Image Bitmap

# fz_ffmt_image_bmap_scanline_import

Description

Add a scanline to an image import pixel buffer.

Plugin Prototype

short fz_ffmt_image_bmap_scanline_import(

fzrt_pbuf_ptr * | pbuf,
fz_ffmt_image_import_ptr | img_in_ptr,
unsigned char * | scanline,
unsigned short | y,
unsigned short | pix_start,
unsigned short | pix_cnt )

Parameters

pbuf [Input]

The pixel buffer where the image is going.

img_in_ptr [Input]

The image bitmap import storage.

scanline [Input]

A pointer to the beginning of the scan line.

y [Input]

The row of the scan line.

pix_start [Input]

Which pixel on the scanline to start loading.

pix_cnt [Input]

The number of pixels to load in the scanline.

Returns

FZRT_NOERR on success. An error otherwise.

Availability

5.0.0.0

Function Set

fz_ffmt_image_fset

Defined in

fz_ffmt_api.h