The documentation for this class was generated from the following file:
◆ ScopedBlendContextOptions() [1/2]
| juce::ScopedBlendContextOptions::ScopedBlendContextOptions |
( |
| ) |
|
|
default |
◆ ScopedBlendContextOptions() [2/2]
| juce::ScopedBlendContextOptions::ScopedBlendContextOptions |
( |
BlendMode | mode | ) |
|
|
inlineexplicit |
Creates an object using the provided blend mode.
◆ withBlendMode()
◆ withLuminanceMaskSet()
When this option is set, the backing buffer's luminosity is converted to alpha values prior to blending it into the parent buffer.
After conversion, the RGB components are zero, and the A component is calculated using the equation in the SVG specification A = ((0.2125 * R) + (0.7154 * G) + (0.0721 * B)) * A.
References ScopedBlendContextOptions(), juce::withMember(), and x.
◆ withScopeClip()
Allows specifying an additional clip for the blend context, reducing the necessary size of the backing buffer.
By default the backing buffer will be the same size as the parent context's clip region. Even if this value is provided, it is ignored for certain blending modes such as destinationIn and destinationOut.
References ScopedBlendContextOptions(), juce::withMember(), and x.
◆ withOpacity()
◆ getBlendMode()
| const auto & juce::ScopedBlendContextOptions::getBlendMode |
( |
| ) |
const |
|
inline |
◆ isLuminanceMask()
| const auto & juce::ScopedBlendContextOptions::isLuminanceMask |
( |
| ) |
const |
|
inline |
◆ getScopeClip()
| const auto & juce::ScopedBlendContextOptions::getScopeClip |
( |
| ) |
const |
|
inline |
◆ getOpacity()
| const auto & juce::ScopedBlendContextOptions::getOpacity |
( |
| ) |
const |
|
inline |