Class CicpParams
- Namespace
- Gdk
- Assembly
- Gdk-4.0.dll
public class CicpParams : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
CicpParams
- Implements
- Inherited Members
Constructors
CicpParams(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public CicpParams(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
CicpParams(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected CicpParams(CreationData data)
Parameters
dataCreationData
CicpParams(CicpParamsHandle)
protected CicpParams(CicpParamsHandle handle)
Parameters
handleCicpParamsHandle
Fields
ColorPrimariesPropertyDefinition
public static readonly Property<uint, CicpParams> ColorPrimariesPropertyDefinition
Field Value
MatrixCoefficientsPropertyDefinition
public static readonly Property<uint, CicpParams> MatrixCoefficientsPropertyDefinition
Field Value
RangePropertyDefinition
public static readonly Property<CicpRange, CicpParams> RangePropertyDefinition
Field Value
TransferFunctionPropertyDefinition
public static readonly Property<uint, CicpParams> TransferFunctionPropertyDefinition
Field Value
Properties
ColorPrimaries
public uint ColorPrimaries { get; set; }
Property Value
MatrixCoefficients
public uint MatrixCoefficients { get; set; }
Property Value
Range
public CicpRange Range { get; set; }
Property Value
TransferFunction
public uint TransferFunction { get; set; }
Property Value
Methods
BuildColorState()
[Version("4.16")]
public ColorState BuildColorState()
Returns
GetColorPrimaries()
[Version("4.16")]
public uint GetColorPrimaries()
Returns
GetGType()
public static Type GetGType()
Returns
GetMatrixCoefficients()
[Version("4.16")]
public uint GetMatrixCoefficients()
Returns
GetRange()
[Version("4.16")]
public CicpRange GetRange()
Returns
GetTransferFunction()
[Version("4.16")]
public uint GetTransferFunction()
Returns
New()
[Version("4.16")]
public static CicpParams New()
Returns
NewFromPointer(nint, bool)
Creates a new managed CicpParams instance for a given pointer.
public static CicpParams NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new CicpParams and sets the properties specified by the construct arguments.
public static CicpParams NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetColorPrimaries(uint)
[Version("4.16")]
public void SetColorPrimaries(uint colorPrimaries)
Parameters
colorPrimariesuint
SetMatrixCoefficients(uint)
[Version("4.16")]
public void SetMatrixCoefficients(uint matrixCoefficients)
Parameters
matrixCoefficientsuint
SetRange(CicpRange)
[Version("4.16")]
public void SetRange(CicpRange range)
Parameters
rangeCicpRange
SetTransferFunction(uint)
[Version("4.16")]
public void SetTransferFunction(uint transferFunction)
Parameters
transferFunctionuint