formZ SDK | 4.0 Call Back Reference | Renderer

# fz_rndr_cbak_image_inval

Description

The image inval function. The inval function is called when an area on the screen becomes invalid (i.e. needs to be redrawn because the graphics in that area are no longer up-to-date). A renderer may need to know when this happens, in which case this function should be implemented. The invalidated area could either be a rectangle or an arbitrary shape. If the rect argument is not NULL, the area is a rectangle. Otherwise the rgn argument will be non-NULL and the area is an arbitrary region.

Plugin Prototype

fzrt_error_td fz_rndr_cbak_image_inval(

fzrt_int | windex,
fzrt_rect * | rect,
fzrt_rgn_ptr | rgn )

Parameters

windex [Input]

project window index

rect [Input, Optional]

If not NULL, the screen rectangle that was invalidated.

rgn [Input, Optional]

If not NULL, the screen region that was invalidated.

Returns

Error codes

Availability

5.0.0.0

Function Set

fz_rndr_cbak_fset

Defined in

fz_rndr_api.h