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

# fzrt_pbuf_rect_to_rect

Description

This will convert a pbuf rectangle to the rectangle. Note that this may cause overflow if the rectangle is based on 2-byte fields.

Plugin Prototype

fzrt_error_td fzrt_pbuf_rect_to_rect(

const fzrt_pbuf_rect_td * | src_rect,
fzrt_rect * | qd_rect )

Parameters

src_rect [Input]

pointer to a pixel buffer rectangle

qd_rect [Result]

pointer to a fzrt_rect that receives the rectangle coordinates

Returns

error number, FZRT_NOERR if successful

Availability

5.0.0.0

See Also

Function Set

fz_fzrt_graf_fset

Defined in

fzrt_api.h