Struct

GdkColorState

since: 4.0

Description [src]

struct GdkColorState {
  /* No available fields */
}

A GdkColorState object provides the information to interpret colors and pixels in a variety of ways.

They are also known as color spaces.

Crucially, GTK knows how to convert colors from one color state to another.

`GdkColorState objects are immutable and therefore threadsafe.

Since 4.16

Available since: 4.0

Functions

gdk_color_state_get_rec2100_linear

Returns the color state object representing the linear rec2100 color space.

unstable since: 4.16

gdk_color_state_get_rec2100_pq

Returns the color state object representing the rec2100-pq color space.

unstable since: 4.16

gdk_color_state_get_srgb

Returns the color state object representing the sRGB color space.

unstable since: 4.16

gdk_color_state_get_srgb_linear

Returns the color state object representing the linearized sRGB color space.

unstable since: 4.16

Instance methods

gdk_color_state_create_cicp_params

Create a GdkCicpParams representing the colorstate.

unstable since: 4.16

gdk_color_state_equal

Compares two GdkColorStates for equality.

unstable since: 4.16

gdk_color_state_ref

Increase the reference count of self.

unstable since: 4.16

gdk_color_state_unref

Decrease the reference count of self.

unstable since: 4.16