formZ SDK | 4.0 Call Back Reference | Renderer

# fz_rndr_cbak_wind_opts_init

Description

Window options init function. The window options init function needs to be implemented, if the info function returns a size other than 0 for the window options size argument. It is called once, when a new window is created. formZ will allocate a data block of the given size. The window options init function is then called with the pointer to the data and is expected to initialize the data. The window options block is intended to store the options a renderer will expose to the user. For example, a vector renderer may offer a line width parameter.

Plugin Prototype

fzrt_error_td fz_rndr_cbak_wind_opts_init(

fzrt_int | windex,
fzrt_ptr | wind_opts )

Parameters

windex [Input]

project window index

wind_opts [Input]

Pointer to the window options block, maintained by formZ.

Returns

Error codes

Availability

5.0.0.0

Function Set

fz_rndr_cbak_fset

Defined in

fz_rndr_api.h