Back to FabImage Library Lite website

You are here: Start » Path » Path Basics » OpenPath

OpenPath


Header: FIL.h
Namespace: fil

Removes the segment connecting the last point with the first one in a path.

Syntax

void fil::OpenPath
(
	fil::Path& ioPath
)

Parameters

Name Type Default Description
ioPath Path&

Description

The operation reduces a closed path by removing a segment between its first point and the last one, therefore producing an open path.

If an open path is passed, the filter passes it onto output without any interference.

Examples

OpenPath run on a sample path.

See Also

  • ClosePath – Adds the segment connecting the last point with the first one in a path.