Back to FabImage Library Lite website

You are here: Start » Path » Path Spatial Transforms » TranslatePathArray

TranslatePathArray


Header: FIL.h
Namespace: fil

Translates an array of paths by a vector.

Syntax

void fil::TranslatePathArray
(
	const ftl::Array<fil::Path>& inPaths,
	const fil::Vector2D& inDelta,
	bool inInverse,
	ftl::Array<fil::Path>& outPaths
)

Parameters

Name Type Default Description
Input value
inPaths const Array<Path>&
Input value
inDelta const Vector2D& Translation vector
Input value
inInverse bool Switches to the inverse operation
Output value
outPaths Array<Path>&

In-place Processing

This function supports in-place data processing - you can pass the same reference to inPaths and outPaths

Read more about In-place Computation.