JUCE  v5.1.1-3-g1a0b28c73
JUCE API
RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting > Class Template Reference

Fills an edge-table with a solid colour. More...

#include <juce_RenderingHelpers.h>

Collaboration diagram for RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >:

Public Member Functions

 SolidColour (const Image::BitmapData &image, const PixelARGB colour)
 
forcedinline void handleEdgeTableLine (const int x, const int width, const int alphaLevel) const noexcept
 
forcedinline void handleEdgeTableLineFull (const int x, const int width) const noexcept
 
forcedinline void handleEdgeTablePixel (const int x, const int alphaLevel) const noexcept
 
forcedinline void handleEdgeTablePixelFull (const int x) const noexcept
 
forcedinline void setEdgeTableYPos (const int y) noexcept
 

Private Member Functions

void blendLine (PixelType *dest, const PixelARGB colour, int width) const noexcept
 
forcedinline PixelType * getPixel (const int x) const noexcept
 
forcedinline void replaceLine (PixelRGB *dest, const PixelARGB colour, int width) const noexcept
 
forcedinline void replaceLine (PixelAlpha *dest, const PixelARGB colour, int width) const noexcept
 
forcedinline void replaceLine (PixelARGB *dest, const PixelARGB colour, int width) const noexcept
 

Private Attributes

bool areRGBComponentsEqual
 
const Image::BitmapDatadestData
 
PixelRGB filler [4]
 
PixelType * linePixels
 
PixelARGB sourceColour
 

Detailed Description

template<class PixelType, bool replaceExisting = false>
class RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >

Fills an edge-table with a solid colour.

Constructor & Destructor Documentation

◆ SolidColour()

template<class PixelType, bool replaceExisting = false>
RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::SolidColour ( const Image::BitmapData image,
const PixelARGB  colour 
)
inline

Member Function Documentation

◆ blendLine()

template<class PixelType, bool replaceExisting = false>
void RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::blendLine ( PixelType *  dest,
const PixelARGB  colour,
int  width 
) const
inlineprivatenoexcept

◆ getPixel()

template<class PixelType, bool replaceExisting = false>
forcedinline PixelType* RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::getPixel ( const int  x) const
inlineprivatenoexcept

◆ handleEdgeTableLine()

template<class PixelType, bool replaceExisting = false>
forcedinline void RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::handleEdgeTableLine ( const int  x,
const int  width,
const int  alphaLevel 
) const
inlinenoexcept

◆ handleEdgeTableLineFull()

template<class PixelType, bool replaceExisting = false>
forcedinline void RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::handleEdgeTableLineFull ( const int  x,
const int  width 
) const
inlinenoexcept

◆ handleEdgeTablePixel()

template<class PixelType, bool replaceExisting = false>
forcedinline void RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::handleEdgeTablePixel ( const int  x,
const int  alphaLevel 
) const
inlinenoexcept

◆ handleEdgeTablePixelFull()

template<class PixelType, bool replaceExisting = false>
forcedinline void RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::handleEdgeTablePixelFull ( const int  x) const
inlinenoexcept

◆ replaceLine() [1/3]

template<class PixelType, bool replaceExisting = false>
forcedinline void RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::replaceLine ( PixelRGB dest,
const PixelARGB  colour,
int  width 
) const
inlineprivatenoexcept

◆ replaceLine() [2/3]

template<class PixelType, bool replaceExisting = false>
forcedinline void RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::replaceLine ( PixelAlpha dest,
const PixelARGB  colour,
int  width 
) const
inlineprivatenoexcept

◆ replaceLine() [3/3]

template<class PixelType, bool replaceExisting = false>
forcedinline void RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::replaceLine ( PixelARGB dest,
const PixelARGB  colour,
int  width 
) const
inlineprivatenoexcept

◆ setEdgeTableYPos()

template<class PixelType, bool replaceExisting = false>
forcedinline void RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::setEdgeTableYPos ( const int  y)
inlinenoexcept

Member Data Documentation

◆ areRGBComponentsEqual

template<class PixelType, bool replaceExisting = false>
bool RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::areRGBComponentsEqual
private

◆ destData

template<class PixelType, bool replaceExisting = false>
const Image::BitmapData& RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::destData
private

◆ filler

template<class PixelType, bool replaceExisting = false>
PixelRGB RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::filler[4]
private

◆ linePixels

template<class PixelType, bool replaceExisting = false>
PixelType* RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::linePixels
private

◆ sourceColour

template<class PixelType, bool replaceExisting = false>
PixelARGB RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::sourceColour
private

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