Back to FabImage Library website
You are here: Start » Function Reference » Profile Basics » SetProfileXTransform

SetProfileXTransform
Header: | FIL.h |
---|---|
Namespace: | fil |
Sets the offset and the scale of a profile in the X axis.
Syntax
C++
C#
void fil::SetProfileXTransform ( const fil::Profile& inProfile, float inXOffset, float inXScale, fil::Profile& outProfile )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inProfile | const Profile& | Input profile | ||
![]() |
inXOffset | float | 0.0f | ||
![]() |
inXScale | float | 0.001 - ![]() |
1.0f | |
![]() |
outProfile | Profile& | Output profile |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inProfile and outProfile
Read more about In-place Computation.