openshot-audio  0.1.2
Public Member Functions | Protected Attributes | List of all members
RenderingHelpers::GradientPixelIterators::Radial Class Reference

#include <juce_RenderingHelpers.h>

Inheritance diagram for RenderingHelpers::GradientPixelIterators::Radial:
RenderingHelpers::GradientPixelIterators::TransformedRadial

Public Member Functions

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

Protected 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

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

Member Function Documentation

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

Member Data Documentation

double RenderingHelpers::GradientPixelIterators::Radial::dy
protected
const double RenderingHelpers::GradientPixelIterators::Radial::gx1
protected
const double RenderingHelpers::GradientPixelIterators::Radial::gy1
protected
double RenderingHelpers::GradientPixelIterators::Radial::invScale
protected
const PixelARGB* const RenderingHelpers::GradientPixelIterators::Radial::lookupTable
protected
double RenderingHelpers::GradientPixelIterators::Radial::maxDist
protected
const int RenderingHelpers::GradientPixelIterators::Radial::numEntries
protected

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