Package ch.bailu.gtk.gdk
Klasse CicpParams
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.type.PropertyHolder
ch.bailu.gtk.gdk.CicpParams
- Alle implementierten Schnittstellen:
PointerInterface
Contains the parameters that define a colorstate with cicp parameters.
Cicp parameters are specified in the ITU-T H.273
[specification](https://www.itu.int/rec/T-REC-H.273/en).
See the documentation of individual properties for supported values.
The 'unspecified' value (2) is not treated in any special way, and
must be replaced by a different value before creating a color state.
`GdkCicpParams` can be used as a builder object to construct a color
state from Cicp data with [method@Gdk.CicpParams.build_color_state].
The function will return an error if the given parameters are not
supported.
You can obtain a `GdkCicpParams` object from a color state with
[method@Gdk.ColorState.create_cicp_params]. This can be used to
create a variant of a color state, by changing just one of the cicp
parameters, or just to obtain information about the color state.
Cicp parameters are specified in the ITU-T H.273
[specification](https://www.itu.int/rec/T-REC-H.273/en).
See the documentation of individual properties for supported values.
The 'unspecified' value (2) is not treated in any special way, and
must be replaced by a different value before creating a color state.
`GdkCicpParams` can be used as a builder object to construct a color
state from Cicp data with [method@Gdk.CicpParams.build_color_state].
The function will return an error if the given parameters are not
supported.
You can obtain a `GdkCicpParams` object from a color state with
[method@Gdk.ColorState.create_cicp_params]. This can be used to
create a variant of a color state, by changing just one of the cicp
parameters, or just to obtain information about the color state.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Feldübersicht
Von Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungCreates a new `GdkColorState` object for the cicp parameters in @self.static ClassHandler
int
Returns the value of the color-primaries property
of @self.static int
int
Gets the matrix-coefficients property of @self.static long
static TypeSystem.TypeSize
int
getRange()
Gets the range property of @self.int
Gets the transfer-function property of @self.static long
static TypeSystem.TypeSize
void
setColorPrimaries
(int color_primaries) Sets the color-primaries property of @self.void
setMatrixCoefficients
(int matrix_coefficients) @self a `GdkCicpParams`
Sets the matrix-coefficients property of @self.void
setRange
(int range) Sets the range property of @selfvoid
setTransferFunction
(int transfer_function) Sets the transfer-function property of @self.Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrProperty
Von Klasse geerbte Methoden ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
CicpParams
-
CicpParams
public CicpParams()Creates a new `GdkCicpParams` object.
The initial values of the properties are the values for "undefined"
and need to be set before a color state object can be built.
-
-
Methodendetails
-
getClassHandler
-
buildColorState
Creates a new `GdkColorState` object for the cicp parameters in @self.
Note that this may fail if the cicp parameters in @self are not
supported by GTK. In that case, `NULL` is returned, and @error is set
with an error message that can be presented to the user.- Gibt zurück:
- A newly allocated `GdkColorState`
- Löst aus:
AllocationError
-
getColorPrimaries
public int getColorPrimaries()Returns the value of the color-primaries property
of @self.- Gibt zurück:
- the color-primaries value
-
getMatrixCoefficients
public int getMatrixCoefficients()Gets the matrix-coefficients property of @self.- Gibt zurück:
- the matrix-coefficients value
-
getRange
public int getRange()Gets the range property of @self.- Gibt zurück:
- the range value
-
getTransferFunction
public int getTransferFunction()Gets the transfer-function property of @self.- Gibt zurück:
- the transfer-function value
-
setColorPrimaries
public void setColorPrimaries(int color_primaries) Sets the color-primaries property of @self.- Parameter:
color_primaries
- the new color primaries value
-
setMatrixCoefficients
public void setMatrixCoefficients(int matrix_coefficients) @self a `GdkCicpParams`
Sets the matrix-coefficients property of @self.- Parameter:
matrix_coefficients
- the new matrix-coefficients value
-
setRange
public void setRange(int range) Sets the range property of @self- Parameter:
range
- the range value
-
setTransferFunction
public void setTransferFunction(int transfer_function) Sets the transfer-function property of @self.- Parameter:
transfer_function
- the new transfer-function value
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-