formZ SDK | 4.0 Call Back Reference | Renderer

fz_rndr_cbak_disp_attr

Description

Determines whether a renderer is displaying certain standard formZ graphics, such as grid or axis. The display attribute function is similar to the attribute callback function. It is intended to tell formZ which standard graphics are drawn by the renderer. The function receives a question in form of an enum, and the function needs to return TRUE or FALSE as an answer to that question. Based on the answer, formZ will enable or disable the respective item in the Windows menu. It is still the responsibility of the renderer to draw the actual graphics, such as the grid. formZ provides API functions to perform this task. If this function is not implemented, the answer is assumed to be FALSE.

Plugin Prototype

fzrt_boolean fz_rndr_cbak_disp_attr(

fzrt_int

windex,

fz_rndr_disp_attr_enum

rndr_disp_attr )

Parameters

windex [Input]

project window index

rndr_disp_attr [Input]

Identifier for which graphics the renderer may support.

Returns

TRUE if a particular graphics is used by the renderer, FALSE otherwise.

Availability

5.0.0.0

Function Set

fz_rndr_cbak_fset


Defined in

fz_rndr_api.h