Package: cairo
CEnum cairo:operator-t
Declaration(cffi:defcenum operator-t :clear :source :over :in :out :atop :dest :dest-over :dest-in :dest-out :dest-atop :xor :add :saturate :multiply :screen :overlay :darken :lighten :color-dodge :color-burn :hard-light :soft-ligth :difference :exclusion :hsl-hue :hsl-saturation :hsl-color :hsl-luminosity) Values
Details The cairo:operator-t enumeration is used to set the compositing
operator for all Cairo drawing operations. The default operator is the :over value. The operators marked as
unbounded modify their destination even outside of the mask layer, that is,
their effect is not bound by the mask layer. However, their effect can still
be limited by way of clipping. To keep things simple, the operator descriptions here document the behavior for when both source and destination are either fully transparent or fully opaque. The actual implementation works for translucent layers too. For a more detailed explanation of the effects of each operator, including the mathematical definitions, see Cairo's Compositing Operators. | See also |
2025-1-2