formZ SDK | 4.0 Call Back Reference | File Translator | Structured File Translator | Image Vector Call Back

fz_ffmt_cbak_image_vect_write_restore_gstate

Description

Saves the current graphics state. When this function is called, The translator needs to restore the state of the graphics save by a previous call to fz_ffmt_cbak_image_vect_write_save_gstate. This state includes, line color, fill color, clipping path, fill pattern, and line style.

Plugin Prototype

fzrt_error_td fz_ffmt_cbak_image_vect_write_restore_gstate(

fzrt_int

windex,

fz_ffmt_ref_td

ffmt_id,

void *

data )

Parameters

windex [Input]

project window index

ffmt_id [Input]

The file format reference id.

data [Input]

A pointer to translator defined data.

Returns

FZRT_NOERR on success. An error otherwise.

Availability

5.0.0.0

See Also

fz_ffmt_cbak_image_vect_write_save_gstate

Function Set

fz_ffmt_cbak_image_fset


Defined in

fz_ffmt_api.h