PaintCompositeMode
Description:
[ CCode ( cname = "hb_paint_composite_mode_t" , cprefix = "HB_PAINT_COMPOSITE_MODE_" , type_id = "hb_gobject_paint_composite_mode_get_type ()" ) ]
[ GIR ( name = "paint_composite_mode_t" ) ]
[ Version ( since = "7.0.0" ) ]
public enum PaintCompositeMode
The values of this enumeration describe the compositing modes that can be used when combining temporary redirected drawing with the
backdrop.
See the OpenType spec COLR section for
details.
Content:
Enum values:
- CLEAR - clear destination layer (
bounded)
- COLOR_BURN - darkens the
destination color to reflect the source color.
- COLOR_DODGE - brightens the
destination color to reflect the source color.
- DARKEN - replaces the
destination with the source if it is darker, otherwise keeps the source.
- DEST - ignore the source
- DEST_ATOP - leave destination
on top of source content and only there (unbounded)
- DEST_IN - leave destination
only where there was source content (unbounded)
- DEST_OUT - leave destination
only where there was no source content
- DEST_OVER - draw destination
on top of source
- DIFFERENCE - Takes the
difference of the source and destination color.
- EXCLUSION - Produces an
effect similar to difference, but with lower contrast.
- HARD_LIGHT - Multiplies or
screens, dependent on source color.
- HSL_COLOR - Creates a color
with the hue and saturation of the source and the luminosity of the target.
- HSL_HUE - Creates a color with
the hue of the source and the saturation and luminosity of the target.
- HSL_LUMINOSITY - Creates
a color with the luminosity of the source and the hue and saturation of the target.
- HSL_SATURATION - Creates
a color with the saturation of the source and the hue and luminosity of the target.
- LIGHTEN - replaces the
destination with the source if it is lighter, otherwise keeps the source.
- MULTIPLY - source and
destination layers are multiplied.
- OVERLAY - multiplies or
screens, depending on the lightness of the destination color.
- PLUS - source and destination
layers are accumulated
- SCREEN - source and destination
are complemented and multiplied.
- SOFT_LIGHT - Darkens or
lightens, dependent on source color.
- SRC - replace destination layer (
bounded)
- SRC_ATOP - draw source on top
of destination content and only there
- SRC_IN - draw source where there
was destination content (unbounded)
- SRC_OUT - draw source where
there was no destination content (unbounded)
- SRC_OVER - draw source layer
on top of destination layer (bounded)
- XOR - source and destination are
shown where there is only one of them