openshot-audio  0.1.6
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

◆ Radial()

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

Member Function Documentation

◆ getPixel()

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

◆ setY()

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

Member Data Documentation

◆ dy

double RenderingHelpers::GradientPixelIterators::Radial::dy
protected

◆ gx1

const double RenderingHelpers::GradientPixelIterators::Radial::gx1
protected

◆ gy1

const double RenderingHelpers::GradientPixelIterators::Radial::gy1
protected

◆ invScale

double RenderingHelpers::GradientPixelIterators::Radial::invScale
protected

◆ lookupTable

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

◆ maxDist

double RenderingHelpers::GradientPixelIterators::Radial::maxDist
protected

◆ numEntries

const int RenderingHelpers::GradientPixelIterators::Radial::numEntries
protected

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