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

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

#include <juce_RenderingHelpers.h>

Inheritance diagram for RenderingHelpers::GradientPixelIterators::TransformedRadial:
Collaboration diagram for RenderingHelpers::GradientPixelIterators::TransformedRadial:

Public Member Functions

 TransformedRadial (const ColourGradient &gradient, const AffineTransform &transform, 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
 

Private Attributes

const AffineTransform inverseTransform
 
double lineYM01
 
double lineYM11
 
double tM00
 
double tM10
 

Detailed Description

Iterates the colour of pixels in a skewed radial gradient.

Constructor & Destructor Documentation

◆ TransformedRadial()

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

Member Function Documentation

◆ getPixel()

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

References juce::jmin(), and juce::roundToInt().

◆ setY()

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

Member Data Documentation

◆ dy

double RenderingHelpers::GradientPixelIterators::Radial::dy
protectedinherited

◆ gx1

const double RenderingHelpers::GradientPixelIterators::Radial::gx1
protectedinherited

◆ gy1

const double RenderingHelpers::GradientPixelIterators::Radial::gy1
protectedinherited

◆ inverseTransform

const AffineTransform RenderingHelpers::GradientPixelIterators::TransformedRadial::inverseTransform
private

◆ invScale

double RenderingHelpers::GradientPixelIterators::Radial::invScale
protectedinherited

◆ lineYM01

double RenderingHelpers::GradientPixelIterators::TransformedRadial::lineYM01
private

◆ lineYM11

double RenderingHelpers::GradientPixelIterators::TransformedRadial::lineYM11
private

◆ lookupTable

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

◆ maxDist

double RenderingHelpers::GradientPixelIterators::Radial::maxDist
protectedinherited

◆ numEntries

const int RenderingHelpers::GradientPixelIterators::Radial::numEntries
protectedinherited

◆ tM00

double RenderingHelpers::GradientPixelIterators::TransformedRadial::tM00
private

◆ tM10

double RenderingHelpers::GradientPixelIterators::TransformedRadial::tM10
private

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