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

# fz_ffmt_cbak_image_vect_write_save_gstate

Description

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

Plugin Prototype

fzrt_error_td fz_ffmt_cbak_image_vect_write_save_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_restore_gstate

Function Set

fz_ffmt_cbak_image_fset

Defined in

fz_ffmt_api.h