Fills an edge-table with a gradient. More...
#include <juce_RenderingHelpers.h>
Public Member Functions | |
Gradient (const Image::BitmapData &dest, const ColourGradient &gradient, const AffineTransform &transform, const PixelARGB *const colours, const int numColours) | |
void | handleEdgeTableLine (int x, int width, const int alphaLevel) const noexcept |
void | handleEdgeTableLineFull (int x, int width) const noexcept |
forcedinline void | handleEdgeTablePixel (const int x, const int alphaLevel) const noexcept |
forcedinline void | handleEdgeTablePixelFull (const int x) const noexcept |
forcedinline void | setEdgeTableYPos (const int y) noexcept |
Private Member Functions | |
forcedinline PixelType * | getPixel (const int x) const noexcept |
Private Attributes | |
const Image::BitmapData & | destData |
PixelType * | linePixels |
Fills an edge-table with a gradient.
|
inline |
|
inlineprivatenoexcept |
References addBytesToPointer(), JUCE_DECLARE_NON_COPYABLE, and Image::BitmapData::pixelStride.
|
inlinenoexcept |
References JUCE_PERFORM_PIXEL_OP_LOOP.
|
inlinenoexcept |
References JUCE_PERFORM_PIXEL_OP_LOOP.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |
|
private |