Package: gsk

GBoxed gsk:component-transfer

Declaration

(glib:define-gboxed-opaque component-transfer "GskComponentTransfer"
  :export t
  :type-initializer "gsk_component_transfer_get_type"
  :alloc (error "GskComponentTransfer: Use constructor function"))  

Details

Specifies a transfer function for a color component to be applied while rendering. The available functions include linear, piecewise-linear, gamma and step functions.

Note that the transfer function is applied to un-premultiplied values, and all results are clamped to the [0, 1] range.

Since 4.20
 

Returned by

See also

2026-02-11