openshot-audio  0.1.5
Public Member Functions | List of all members
RenderingHelpers::GradientPixelIterators::Linear Class Reference

#include <juce_RenderingHelpers.h>

Public Member Functions

 Linear (const ColourGradient &gradient, const AffineTransform &transform, const PixelARGB *const colours, const int numColours)
 
forcedinline void setY (const int y) noexcept
 
PixelARGB getPixel (const int x) const noexcept
 

Detailed Description

Iterates the colour of pixels in a linear gradient

Constructor & Destructor Documentation

◆ Linear()

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

Member Function Documentation

◆ getPixel()

PixelARGB RenderingHelpers::GradientPixelIterators::Linear::getPixel ( const int  x) const
inlinenoexcept

◆ setY()

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

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