JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::RenderingHelpers::EdgeTableFillers::Gradient< PixelType, GradientType > Struct Template Reference

Fills an edge-table with a gradient. More...

#include <juce_RenderingHelpers.h>

Inheritance diagram for juce::RenderingHelpers::EdgeTableFillers::Gradient< PixelType, GradientType >:
Collaboration diagram for juce::RenderingHelpers::EdgeTableFillers::Gradient< PixelType, GradientType >:

Public Member Functions

 Gradient (const Image::BitmapData &dest, const ColourGradient &gradient, const AffineTransform &transform, const PixelARGB *colours, int numColours)
 
void handleEdgeTableLine (int x, int width, int alphaLevel) const noexcept
 
void handleEdgeTableLineFull (int x, int width) const noexcept
 
forcedinline void handleEdgeTablePixel (int x, int alphaLevel) const noexcept
 
forcedinline void handleEdgeTablePixelFull (int x) const noexcept
 
void handleEdgeTableRectangle (int x, int y, int width, int height, int alphaLevel) noexcept
 
void handleEdgeTableRectangleFull (int x, int y, int width, int height) noexcept
 
forcedinline void setEdgeTableYPos (int y) noexcept
 

Private Member Functions

forcedinline PixelType * getPixel (int x) const noexcept
 

Private Attributes

const Image::BitmapDatadestData
 
PixelType * linePixels
 

Detailed Description

template<class PixelType, class GradientType>
struct juce::RenderingHelpers::EdgeTableFillers::Gradient< PixelType, GradientType >

Fills an edge-table with a gradient.

Constructor & Destructor Documentation

◆ Gradient()

template<class PixelType, class GradientType>
juce::RenderingHelpers::EdgeTableFillers::Gradient< PixelType, GradientType >::Gradient ( const Image::BitmapData dest,
const ColourGradient< PixelType, GradientType > &  gradient,
const AffineTransform transform,
const PixelARGB colours,
int  numColours 
)
inline

Member Function Documentation

◆ getPixel()

template<class PixelType, class GradientType>
forcedinline PixelType* juce::RenderingHelpers::EdgeTableFillers::Gradient< PixelType, GradientType >::getPixel ( int  x) const
inlineprivatenoexcept

◆ handleEdgeTableLine()

template<class PixelType, class GradientType>
void juce::RenderingHelpers::EdgeTableFillers::Gradient< PixelType, GradientType >::handleEdgeTableLine ( int  x,
int  width,
int  alphaLevel 
) const
inlinenoexcept

◆ handleEdgeTableLineFull()

template<class PixelType, class GradientType>
void juce::RenderingHelpers::EdgeTableFillers::Gradient< PixelType, GradientType >::handleEdgeTableLineFull ( int  x,
int  width 
) const
inlinenoexcept

◆ handleEdgeTablePixel()

template<class PixelType, class GradientType>
forcedinline void juce::RenderingHelpers::EdgeTableFillers::Gradient< PixelType, GradientType >::handleEdgeTablePixel ( int  x,
int  alphaLevel 
) const
inlinenoexcept

◆ handleEdgeTablePixelFull()

template<class PixelType, class GradientType>
forcedinline void juce::RenderingHelpers::EdgeTableFillers::Gradient< PixelType, GradientType >::handleEdgeTablePixelFull ( int  x) const
inlinenoexcept

◆ handleEdgeTableRectangle()

template<class PixelType, class GradientType>
void juce::RenderingHelpers::EdgeTableFillers::Gradient< PixelType, GradientType >::handleEdgeTableRectangle ( int  x,
int  y,
int  width,
int  height,
int  alphaLevel 
)
inlinenoexcept

◆ handleEdgeTableRectangleFull()

template<class PixelType, class GradientType>
void juce::RenderingHelpers::EdgeTableFillers::Gradient< PixelType, GradientType >::handleEdgeTableRectangleFull ( int  x,
int  y,
int  width,
int  height 
)
inlinenoexcept

◆ setEdgeTableYPos()

template<class PixelType, class GradientType>
forcedinline void juce::RenderingHelpers::EdgeTableFillers::Gradient< PixelType, GradientType >::setEdgeTableYPos ( int  y)
inlinenoexcept

Member Data Documentation

◆ destData

template<class PixelType, class GradientType>
const Image::BitmapData& juce::RenderingHelpers::EdgeTableFillers::Gradient< PixelType, GradientType >::destData
private

◆ linePixels

template<class PixelType, class GradientType>
PixelType* juce::RenderingHelpers::EdgeTableFillers::Gradient< PixelType, GradientType >::linePixels
private

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