JUCE  v5.1.1-3-g1a0b28c73
JUCE API
RenderingHelpers::GradientPixelIterators::Radial Class Reference

Iterates the colour of pixels in a circular radial gradient. More...

#include <juce_RenderingHelpers.h>

Inheritance diagram for RenderingHelpers::GradientPixelIterators::Radial:
Collaboration diagram for RenderingHelpers::GradientPixelIterators::Radial:

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
 

Detailed Description

Iterates the colour of pixels in a circular radial gradient.

Constructor & Destructor Documentation

◆ Radial()

RenderingHelpers::GradientPixelIterators::Radial::Radial ( const ColourGradient gradient,
const AffineTransform ,
const PixelARGB *const  colours,
const int  numColours 
)
inline

Member Function Documentation

◆ getPixel()

PixelARGB RenderingHelpers::GradientPixelIterators::Radial::getPixel ( const int  px) const
inlinenoexcept

References juce::roundToInt().

◆ setY()

forcedinline void RenderingHelpers::GradientPixelIterators::Radial::setY ( const int  y)
inlinenoexcept

Member Data Documentation

◆ dy

double RenderingHelpers::GradientPixelIterators::Radial::dy
protected

◆ gx1

const double RenderingHelpers::GradientPixelIterators::Radial::gx1
protected

◆ gy1

const double RenderingHelpers::GradientPixelIterators::Radial::gy1
protected

◆ invScale

double RenderingHelpers::GradientPixelIterators::Radial::invScale
protected

◆ lookupTable

const PixelARGB* const RenderingHelpers::GradientPixelIterators::Radial::lookupTable
protected

◆ maxDist

double RenderingHelpers::GradientPixelIterators::Radial::maxDist
protected

◆ numEntries

const int RenderingHelpers::GradientPixelIterators::Radial::numEntries
protected

The documentation for this class was generated from the following file: