JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::RenderingHelpers::GradientPixelIterators::TransformedRadial Struct Reference

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

#include <juce_RenderingHelpers.h>

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

Public Member Functions

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

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

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

Member Function Documentation

◆ getPixel()

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

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

◆ setY()

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

Member Data Documentation

◆ dy

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

◆ gx1

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

◆ gy1

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

◆ inverseTransform

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

◆ invScale

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

◆ lineYM01

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

◆ lineYM11

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

◆ lookupTable

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

◆ maxDist

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

◆ numEntries

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

◆ tM00

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

◆ tM10

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

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