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

fzrt_pbuf_get_bounds

Description

Gets the bounds of a pixel buffer. This will return the bounding rectangle of a pixel buffer. This is the rectangle that was specified in the call to . The bounding rectangle does not necessarily have its origin at 0,0. Pixels outside the bounding rectangle are invalid and cannot be accessed.

Plugin Prototype

fzrt_error_td fzrt_pbuf_get_bounds(

fzrt_pbuf_ptr

pixbuf,

fzrt_pbuf_rect_td *

rect )

Parameters

pixbuf [Input]

pointer to a pixel buffer

rect [Result]

pointer pbuf rect receives dimensions of pixel buffer

Returns

error number, FZRT_NOERR if successful

Availability

5.0.0.0

Function Set

fz_fzrt_graf_fset


Defined in

fzrt_api.h