mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
![]() The blending feature allows user to combine colors to create visually appealing effects, including transparency, lighting, shading, and color mixing, among others. Its process involves the combination of colors or images from the source paint object with the destination (the lower layer image) using blending operations. The blending operation is determined by the chosen @p BlendMethod, which specifies how the colors or images are combined. @APIs: - enum class BlendMethod::Normal, Add, Screen, Multiply, Overlay, Lighten, Difference, Exclusion, SrcOver, Darken, Lighten, ColorDodge, ColorBurn - BlendMethod Paint::blend() const noexcept; - Result Paint::blend(BlendMethod method) const noexcept; @Issue: https://github.com/thorvg/thorvg/issues/307 Co-authored-by: Peter Vullings <peter@projectitis.com> Co-authored-by: Hermet Park <hermetpark@lottiefiles.com> |
||
---|---|---|
.. | ||
meson.build | ||
thorvg.h |