JUCE
Public Member Functions | Public Attributes | List of all members
juce::RenderingHelpers::GradientPixelIterators::Radial Struct Reference

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

Inheritance diagram for juce::RenderingHelpers::GradientPixelIterators::Radial:

Public Member Functions

 Radial (const ColourGradient &gradient, const AffineTransform &, const PixelARGB *colours, int numColours)
 
forcedinline void setY (int y) noexcept
 
PixelARGB getPixel (int px) const noexcept
 

Public Attributes

const PixelARGB *const lookupTable
 
const int numEntries
 
const double gx1
 
const double gy1
 
double maxDist
 
double invScale
 
double dy
 

Detailed Description

Iterates the colour of pixels in a circular radial gradient.

Constructor & Destructor Documentation

◆ Radial()

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

Member Function Documentation

◆ setY()

forcedinline void juce::RenderingHelpers::GradientPixelIterators::Radial::setY ( int  y)
noexcept

◆ getPixel()

PixelARGB juce::RenderingHelpers::GradientPixelIterators::Radial::getPixel ( int  px) const
noexcept

References juce::roundToInt().

Member Data Documentation

◆ lookupTable

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

◆ numEntries

const int juce::RenderingHelpers::GradientPixelIterators::Radial::numEntries

◆ gx1

const double juce::RenderingHelpers::GradientPixelIterators::Radial::gx1

◆ gy1

const double juce::RenderingHelpers::GradientPixelIterators::Radial::gy1

◆ maxDist

double juce::RenderingHelpers::GradientPixelIterators::Radial::maxDist

◆ invScale

double juce::RenderingHelpers::GradientPixelIterators::Radial::invScale

◆ dy

double juce::RenderingHelpers::GradientPixelIterators::Radial::dy

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