Package: gsk

GEnum gsk:blend-mode

Declaration

(gobject:define-genum "GskBlendMode" blend-mode
  (:export t
   :type-initializer "gsk_blend_mode_get_type")
  (:default 0)
  (:multiply 1)
  (:screen 2)
  (:overlay 3)
  (:darken 4)
  (:ligthen 5)
  (:color-dodge 6)
  (:color-burn 7)
  (:hard-light 8)
  (:soft-ligth 9)
  (:difference 10)
  (:exclusion 11)
  (:color 12)
  (:hue 13)
  (:saturation 14)
  (:luminosity 15))  

Values

:default
The default blend mode, which specifies no blending.
:multiply
The source color is multiplied by the destination and replaces the destination.
:screen
Multiplies the complements of the destination and source color values, then complements the result.
:overlay
Multiplies or screens the colors, depending on the destination color value. This is the inverse of hard-list.
:darken
Selects the darker of the destination and source colors.
:ligthen
Selects the lighter of the destination and source colors.
:color-dodge
Brightens the destination color to reflect the source color.
:color-burn]{Darkens the destination color to reflect the source color.
:hard-ligth
Multiplies or screens the colors, depending on the source color value.
:soft-ligth
Darkens or lightens the colors, depending on the source color value.
:difference
Subtracts the darker of the two constituent colors from the lighter color.
:exclusion
Produces an effect similar to that of the difference mode but lower in contrast.
:color
Creates a color with the hue and saturation of the source color and the luminosity of the destination color.
:hue
Creates a color with the hue of the source color and the saturation and luminosity of the destination color.
:saturation
Creates a color with the saturation of the source color and the hue and luminosity of the destination color.
:luminosity
Creates a color with the luminosity of the source color and the hue and saturation of the destination color.

Details

The blend modes available for render nodes. The implementation of each blend mode is deferred to the rendering pipeline. See Composting and Blending for more information on blending and blend modes.
 

See also

2023-10-26