Enumeration (GI Enum)

HarfBuzz-0.0HarfBuzzpaint_composite_mode_tSince 7.0.0

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.

7.0.0

Index

Enumeration Members

CLEAR: number

clear destination layer (bounded)

COLOR_BURN: number

darkens the destination color to reflect the source color.

COLOR_DODGE: number

brightens the destination color to reflect the source color.

DARKEN: number

replaces the destination with the source if it is darker, otherwise keeps the source.

DEST: number

ignore the source

DEST_ATOP: number

leave destination on top of source content and only there (unbounded)

DEST_IN: number

leave destination only where there was source content (unbounded)

DEST_OUT: number

leave destination only where there was no source content

DEST_OVER: number

draw destination on top of source

DIFFERENCE: number

Takes the difference of the source and destination color.

EXCLUSION: number

Produces an effect similar to difference, but with lower contrast.

HARD_LIGHT: number

Multiplies or screens, dependent on source color.

HSL_COLOR: number

Creates a color with the hue and saturation of the source and the luminosity of the target. This preserves the gray levels of the target and is useful for coloring monochrome images or tinting color images.

HSL_HUE: number

Creates a color with the hue of the source and the saturation and luminosity of the target.

HSL_LUMINOSITY: number

Creates a color with the luminosity of the source and the hue and saturation of the target. This produces an inverse effect to HB_PAINT_COMPOSITE_MODE_HSL_COLOR.

HSL_SATURATION: number

Creates a color with the saturation of the source and the hue and luminosity of the target. Painting with this mode onto a gray area produces no change.

LIGHTEN: number

replaces the destination with the source if it is lighter, otherwise keeps the source.

MULTIPLY: number

source and destination layers are multiplied. This causes the result to be at least as dark as the darker inputs.

OVERLAY: number

multiplies or screens, depending on the lightness of the destination color.

PLUS: number

source and destination layers are accumulated

SCREEN: number

source and destination are complemented and multiplied. This causes the result to be at least as light as the lighter inputs.

SOFT_LIGHT: number

Darkens or lightens, dependent on source color.

SRC: number

replace destination layer (bounded)

SRC_ATOP: number

draw source on top of destination content and only there

SRC_IN: number

draw source where there was destination content (unbounded)

SRC_OUT: number

draw source where there was no destination content (unbounded)

SRC_OVER: number

draw source layer on top of destination layer (bounded)

XOR: number

source and destination are shown where there is only one of them