formZ SDK | 4.0 Call Back Reference | Renderer

fz_rndr_cbak_expt_vect_out

Description

2d vector/polygon image export function. This function is called only for vector and polygon based renderers. it is called when the user exports the rendered image to a 2d image file, that supports vector graphics, such as Adobe Illustrator or HPGL. The function needs to call the expt_vect API functions, which are equivalent to drawing the image on the screen. These functions usually take the expt_vect argument passed into this function as an argument as well. if this function is not implemented, the rendered image cannot be exported to those image file formats.

Plugin Prototype

fzrt_error_td fz_rndr_cbak_expt_vect_out(

fzrt_int

windex,

char *

prg_str,

char *

fname,

fzrt_boolean

do_back,

fz_expt_vect_ptr

expt_vect )

Parameters

windex [Input]

project window index

prg_str [Input]

The title for the progress bar, if the renderer decides to bring up a progress bar.

fname [Input]

The name of the file being exported.

do_back [Input]

TRUE, if a background needs to be placed underneath the exported graphics.

expt_vect [Input]

The 2d vector/polygon export pointer. This pointer is usually passed on to the API functions which the renderer calls to write the graphics data to file.

Returns

Error codes

Availability

5.0.0.0

Function Set

fz_rndr_cbak_fset


Defined in

fz_rndr_api.h