JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::RenderingHelpers::GradientPixelIterators::Radial Struct Reference

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

#include <juce_RenderingHelpers.h>

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

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
 

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 
)
inline

Member Function Documentation

◆ getPixel()

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

◆ setY()

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

References dy, and gy1.

Member Data Documentation

◆ dy

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

Referenced by getPixel(), and setY().

◆ gx1

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

◆ gy1

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

◆ invScale

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

◆ lookupTable

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

◆ maxDist

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

◆ numEntries

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

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