JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting > Struct Template Reference

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

#include <juce_RenderingHelpers.h>

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

Public Member Functions

 SolidColour (const Image::BitmapData &image, PixelARGB colour)
 
forcedinline void handleEdgeTableLine (int x, int width, int alphaLevel) const noexcept
 
forcedinline 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

void blendLine (PixelType *dest, PixelARGB colour, int width) const noexcept
 
forcedinline PixelType * getPixel (int x) 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
 
forcedinline void replaceLine (PixelRGB *dest, PixelARGB colour, int width) const noexcept
 

Private Attributes

bool areRGBComponentsEqual
 
const Image::BitmapDatadestData
 
PixelType * linePixels
 
PixelARGB sourceColour
 

Detailed Description

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

Fills an edge-table with a solid colour.

Constructor & Destructor Documentation

◆ SolidColour()

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

Member Function Documentation

◆ blendLine()

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

◆ getPixel()

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

◆ handleEdgeTableLine()

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

◆ handleEdgeTableLineFull()

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

References juce::gl::width, and juce::gl::x.

◆ handleEdgeTablePixel()

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

References juce::gl::x.

◆ handleEdgeTablePixelFull()

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

References juce::gl::x.

◆ handleEdgeTableRectangle()

template<class PixelType , bool replaceExisting = false>
void juce::RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::handleEdgeTableRectangle ( int  x,
int  y,
int  width,
int  height,
int  alphaLevel 
)
inlinenoexcept

◆ handleEdgeTableRectangleFull()

template<class PixelType , bool replaceExisting = false>
void juce::RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting >::handleEdgeTableRectangleFull ( int  x,
int  y,
int  width,
int  height 
)
inlinenoexcept

◆ replaceLine() [1/3]

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

◆ replaceLine() [2/3]

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

◆ replaceLine() [3/3]

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

◆ setEdgeTableYPos()

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

References juce::gl::y.

Member Data Documentation

◆ areRGBComponentsEqual

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

◆ destData

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

◆ linePixels

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

◆ sourceColour

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

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