formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Vector Export

# fz_expt_vect_draw_line

Description

Draws a line to a vector image.

Plugin Prototype

fzrt_error_td fz_expt_vect_draw_line(

fzrt_int | windex,
fz_expt_vect_ptr | expt_vect,
double | x1,
double | y1,
double | x2,
double | y2 )

Parameters

windex [Input]

project window index

expt_vect [Input]

Image vector export data

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. Or:
Appropriate error on failure.

Availability

5.0.0.0

Function Set

fz_expt_vect_modl_fset

Defined in

fz_expt_vect_api.h