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 *colours, int numColours) | |
PixelARGB | getPixel (int px) const noexcept |
forcedinline void | setY (int y) noexcept |
Public 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(), and juce::gl::x.
|
inlinenoexcept |
References juce::gl::y.
double juce::RenderingHelpers::GradientPixelIterators::Radial::dy |
const double juce::RenderingHelpers::GradientPixelIterators::Radial::gx1 |
const double juce::RenderingHelpers::GradientPixelIterators::Radial::gy1 |
double juce::RenderingHelpers::GradientPixelIterators::Radial::invScale |
const PixelARGB* const juce::RenderingHelpers::GradientPixelIterators::Radial::lookupTable |
double juce::RenderingHelpers::GradientPixelIterators::Radial::maxDist |
const int juce::RenderingHelpers::GradientPixelIterators::Radial::numEntries |