formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Graphics

# fzrt_pbuf_get_pixbytes

Description

Gets the size of a pixel This will return the number of bytes used to store one pixel.

Plugin Prototype

fzrt_error_td fzrt_pbuf_get_pixbytes(

fzrt_pbuf_ptr | pixbuf,
short * | pixbytes )

Parameters

pixbuf [Input]

pointer to a pixel buffer

pixbytes [Result]

pointer to a short that receives the size of a pixel in bytes

Returns

error number, FZRT_NOERR if successful

Availability

5.0.0.0

Function Set

fz_fzrt_graf_fset

Defined in

fzrt_api.h