#include <include/spice/composite.hpp>
template<typename T>
overlay class
Overlay the foreground over the background.
| Template parameters | |
|---|---|
| T | |
Contents
Constructors, destructors, conversion operators
Public functions
-
auto operator()(pixel_
view<T> const& bg, pixel_ view<T> const& fg) -> color<T> - Blend the foreground and the background.
Function documentation
template<typenameT>
color<T> spice:: blend_function:: overlay<T>:: operator()(pixel_ view<T> const& bg,
pixel_ view<T> const& fg)
Blend the foreground and the background.
| Parameters | |
|---|---|
| bg | |
| fg | |
| Returns | color<T> |