[ CCode ( has_construct_function = false ) ]
public ComponentTransfer.linear (float m, float b)
Creates a new component transfer that applies a linear transform.
The new value is computed as
C' = C * m + b
<figure> <picture> <source srcset="linear-dark.png" media="(prefers-color-scheme: dark)"> <img alt="Component transfer: linear" src="linear-light.png"> </picture> </figure>
| m |
Slope |
| b |
Offset |
|
a new `GskComponentTransfer` |