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

# fz_ffmt_cbak_image_vect_write_begin

Description

Begins the writing of a vector file. Any translator specific data can be allocated in this function.

Plugin Prototype

fzrt_error_td fz_ffmt_cbak_image_vect_write_begin(

fzrt_int | windex,
fz_ffmt_ref_td | ffmt_id,
void ** | data_ptr,
fzrt_floc_ptr | floc,
fzrt_boolean * | invrt_proj,
fz_ffmt_image_vect_write_text_method_enum * | text_method,
double * | deflt_line_weight,
fzrt_boolean * | full_faces,
fzrt_boolean * | pnts_as_pnts )

Parameters

windex [Input]

project window index

ffmt_id [Input]

The file format reference id.

data_ptr [Input]

A pointer to translator defined data.

floc [Input]

The file to write to.

invrt_proj [Result, Optional]

TRUE if the y origin is top-left. FALSE if the y origin is bottom-left.

Default Value: FALSE

text_method [Result, Optional]

How text is to be exported.

Default Value: FZ_FFMT_IMAGE_VECT_WRITE_TEXT_METH_AS_PATHS

deflt_line_weight [Result, Optional]

The file format's default line width.

Default Value: 1.0

full_faces [Result, Optional]

TRUE if the exporting full faces. FALSE if exporting filtered segments.

Default Value: FALSE

pnts_as_pnts [Result, Optional]

TRUE if exporting points as points. FALSE if exporting points as drawn on the screen.

Default Value: FALSE

Returns

FZRT_NOERR on success. An error otherwise.

Availability

5.0.0.0

Function Set

fz_ffmt_cbak_image_fset

Defined in

fz_ffmt_api.h