Back to FabImage Library website
You are here: Start » Function Reference » Path » Path Spatial Transforms » TranslatePath
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Translates a path by a vector.
Syntax
C++
C#
void fil::TranslatePath ( const fil::Path& inPath, const fil::Vector2D& inDelta, bool inInverse, fil::Path& outPath )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPath | const Path& | Input path | ||
inDelta | const Vector2D& | Translation vector | ||
inInverse | bool | Switches to the inverse operation | ||
outPath | Path& | Output path |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inPath and outPath
Read more about In-place Computation.
Examples
See Also
- RotatePath – Rotates a path clockwise around a center point.
- AlignPath – Moves a path from a local coordinate system to the absolute one.