:right-sidebar: True paint_composite_mode_t =================================================================== .. currentmodule:: gi.repository.HarfBuzz .. versionadded:: 7.0.0 .. class:: paint_composite_mode_t :no-contents-entry: 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. Fields ------ .. rst-class:: interim-class .. class:: paint_composite_mode_t :no-index: .. attribute:: CLEAR Clear destination layer (bounded) .. attribute:: COLOR_BURN Darkens the destination color to reflect the source color. .. attribute:: COLOR_DODGE Brightens the destination color to reflect the source color. .. attribute:: DARKEN Replaces the destination with the source if it is darker, otherwise keeps the source. .. attribute:: DEST Ignore the source .. attribute:: DEST_ATOP Leave destination on top of source content and only there (unbounded) .. attribute:: DEST_IN Leave destination only where there was source content (unbounded) .. attribute:: DEST_OUT Leave destination only where there was no source content .. attribute:: DEST_OVER Draw destination on top of source .. attribute:: DIFFERENCE Takes the difference of the source and destination color. .. attribute:: EXCLUSION Produces an effect similar to difference, but with lower contrast. .. attribute:: HARD_LIGHT Multiplies or screens, dependent on source color. .. attribute:: HSL_COLOR 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. .. attribute:: HSL_HUE Creates a color with the hue of the source and the saturation and luminosity of the target. .. attribute:: HSL_LUMINOSITY 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``. .. attribute:: HSL_SATURATION 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. .. attribute:: LIGHTEN Replaces the destination with the source if it is lighter, otherwise keeps the source. .. attribute:: MULTIPLY Source and destination layers are multiplied. This causes the result to be at least as dark as the darker inputs. .. attribute:: OVERLAY Multiplies or screens, depending on the lightness of the destination color. .. attribute:: PLUS Source and destination layers are accumulated .. attribute:: SCREEN Source and destination are complemented and multiplied. This causes the result to be at least as light as the lighter inputs. .. attribute:: SOFT_LIGHT Darkens or lightens, dependent on source color. .. attribute:: SRC Replace destination layer (bounded) .. attribute:: SRC_ATOP Draw source on top of destination content and only there .. attribute:: SRC_IN Draw source where there was destination content (unbounded) .. attribute:: SRC_OUT Draw source where there was no destination content (unbounded) .. attribute:: SRC_OVER Draw source layer on top of destination layer (bounded) .. attribute:: XOR Source and destination are shown where there is only one of them