formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Graphics
Description
Copies one pixel buffer to another. This will copy the contents of one pixel buffer to another. The destination pixel buffer must be allocated before copy. If the src and destination rectangles are different sizes, the pixels will be stretched (or compressed).
Plugin Prototype
fzrt_error_td fzrt_pbuf_copy(
src_pixbuf, | |
src_rect, | |
dst_pixbuf, | |
dst_rect, | |
fzrt_unsigned_int | flags ) |
Parameters
src_pixbuf [Input]
allocated pixbuf
src_rect [Input]
bounds of src pixels to copy
dst_pixbuf [Input]
destination pixbuf - already allocated
dst_rect [Input]
destination rectangle
flags [Input]
flags - 0 for now
Returns
FZRT_NOERR if successful, error number otherwise
Availability
5.0.0.0
Function Set
Defined in