formZ SDK | 5.0 API Reference | Project | File Formats | Structured File Translator | Image Vector

fz_ffmt_image_lineset_close

Description

Designates a line set as closed. Normally a line set is an open polyline. Calling this designates a line set as closed. This has the effect of adding a line segment from the last vertex to the first vertex.

Plugin Prototype

fzrt_error_td fz_ffmt_image_lineset_close(

fzrt_int

windex,

fz_ffmt_image_lineset_ptr

lineset,

fzrt_boolean

closed )

Parameters

windex [Input]

project window index

lineset [Input]

The line set.

closed [Input]

If TRUE, the line set is closed and a line segment should be drawn connecting the last vertex to the first. If FALSE, the line set is open and the last vertex and first vertex are not connected.

Returns

FZRT_NOERR on success. An error otherwise.

Availability

5.0.0.0

Function Set

fz_ffmt_image_fset


Defined in

fz_ffmt_api.h