Iterates the colour of pixels in a circular radial gradient. More...
#include <juce_RenderingHelpers.h>
Public Member Functions | |
Radial (const ColourGradient &gradient, const AffineTransform &, const PixelARGB *const colours, const int numColours) | |
PixelARGB | getPixel (const int px) const noexcept |
forcedinline void | setY (const int y) noexcept |
Protected Attributes | |
double | dy |
const double | gx1 |
const double | gy1 |
double | invScale |
const PixelARGB *const | lookupTable |
double | maxDist |
const int | numEntries |
Iterates the colour of pixels in a circular radial gradient.
|
inline |
|
inlinenoexcept |
References juce::roundToInt().
|
inlinenoexcept |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |