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 *colours, int numColours) | |
void | handleEdgeTableLine (int x, int width, int alphaLevel) const noexcept |
void | handleEdgeTableLineFull (int x, int width) const noexcept |
forcedinline void | handleEdgeTablePixel (int x, int alphaLevel) const noexcept |
forcedinline void | handleEdgeTablePixelFull (int x) const noexcept |
void | handleEdgeTableRectangle (int x, int y, int width, int height, int alphaLevel) noexcept |
void | handleEdgeTableRectangleFull (int x, int y, int width, int height) noexcept |
forcedinline void | setEdgeTableYPos (int y) noexcept |
Private Member Functions | |
forcedinline PixelType * | getPixel (int x) const noexcept |
Private Attributes | |
const Image::BitmapData & | destData |
PixelType * | linePixels |
Fills an edge-table with a gradient.
|
inline |
|
inlineprivatenoexcept |
References juce::addBytesToPointer(), juce::Image::BitmapData::pixelStride, and juce::gl::x.
|
inlinenoexcept |
References JUCE_PERFORM_PIXEL_OP_LOOP, and juce::gl::x.
|
inlinenoexcept |
References JUCE_PERFORM_PIXEL_OP_LOOP, and juce::gl::x.
|
inlinenoexcept |
References juce::gl::x.
|
inlinenoexcept |
References juce::gl::x.
|
inlinenoexcept |
References juce::gl::height, juce::gl::width, juce::gl::x, and juce::gl::y.
|
inlinenoexcept |
References juce::gl::height, juce::gl::width, juce::gl::x, and juce::gl::y.
|
inlinenoexcept |
References juce::gl::y.
|
private |
|
private |