Table of Contents

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

constructArguments ConstructArgument[]

CicpParams(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected CicpParams(CreationData data)

Parameters

data CreationData

CicpParams(CicpParamsHandle)

protected CicpParams(CicpParamsHandle handle)

Parameters

handle CicpParamsHandle

Fields

ColorPrimariesPropertyDefinition

public static readonly Property<uint, CicpParams> ColorPrimariesPropertyDefinition

Field Value

Property<uint, CicpParams>

MatrixCoefficientsPropertyDefinition

public static readonly Property<uint, CicpParams> MatrixCoefficientsPropertyDefinition

Field Value

Property<uint, CicpParams>

RangePropertyDefinition

public static readonly Property<CicpRange, CicpParams> RangePropertyDefinition

Field Value

Property<CicpRange, CicpParams>

TransferFunctionPropertyDefinition

public static readonly Property<uint, CicpParams> TransferFunctionPropertyDefinition

Field Value

Property<uint, CicpParams>

Properties

ColorPrimaries

public uint ColorPrimaries { get; set; }

Property Value

uint

MatrixCoefficients

public uint MatrixCoefficients { get; set; }

Property Value

uint

Range

public CicpRange Range { get; set; }

Property Value

CicpRange

TransferFunction

public uint TransferFunction { get; set; }

Property Value

uint

Methods

BuildColorState()

[Version("4.16")]
public ColorState BuildColorState()

Returns

ColorState

GetColorPrimaries()

[Version("4.16")]
public uint GetColorPrimaries()

Returns

uint

GetGType()

public static Type GetGType()

Returns

Type

GetMatrixCoefficients()

[Version("4.16")]
public uint GetMatrixCoefficients()

Returns

uint

GetRange()

[Version("4.16")]
public CicpRange GetRange()

Returns

CicpRange

GetTransferFunction()

[Version("4.16")]
public uint GetTransferFunction()

Returns

uint

New()

[Version("4.16")]
public static CicpParams New()

Returns

CicpParams

NewFromPointer(nint, bool)

Creates a new managed CicpParams instance for a given pointer.

public static CicpParams NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

CicpParams

NewWithProperties(ConstructArgument[])

Creates a new CicpParams and sets the properties specified by the construct arguments.

public static CicpParams NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

CicpParams

SetColorPrimaries(uint)

[Version("4.16")]
public void SetColorPrimaries(uint colorPrimaries)

Parameters

colorPrimaries uint

SetMatrixCoefficients(uint)

[Version("4.16")]
public void SetMatrixCoefficients(uint matrixCoefficients)

Parameters

matrixCoefficients uint

SetRange(CicpRange)

[Version("4.16")]
public void SetRange(CicpRange range)

Parameters

range CicpRange

SetTransferFunction(uint)

[Version("4.16")]
public void SetTransferFunction(uint transferFunction)

Parameters

transferFunction uint