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

# fz_ffmt_cbak_image_vect_write_line_ref

Description

Writes a line segment to a vector file.

Plugin Prototype

fzrt_error_td fz_ffmt_cbak_image_vect_write_line_ref(

fzrt_int | windex,
fz_ffmt_ref_td | ffmt_id,
void * | data,
fz_objt_ptr | ref_obj,
double | x1,
double | y1,
double | x2,
double | y2 )

Parameters

windex [Input]

project window index

ffmt_id [Input]

The file format reference id.

data [Input]

A pointer to translator defined data.

ref_obj [Input]

reference object (the original object that the line is derived from). Useful for accessing attributes

x1 [Input]

The x location of the starting point of the line segment.

y1 [Input]

The y location of the starting point of the line segment.

x2 [Input]

The x location of the end point of the line segment.

y2 [Input]

The y location of the end point of the line segment.

Returns

FZRT_NOERR on success. An error otherwise.

Availability

8.5.3.0

Function Set

fz_ffmt_cbak_image_fset

Defined in

fz_ffmt_api.h