JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::RenderingHelpers::EdgeTableFillers::SolidColour< PixelType, replaceExisting > Struct Template Reference

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

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()

Member Function Documentation

◆ blendLine()

◆ getPixel()

◆ handleEdgeTableLine()

◆ handleEdgeTableLineFull()

◆ handleEdgeTablePixel()

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

◆ handleEdgeTablePixelFull()

◆ handleEdgeTableRectangle()

◆ 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]

◆ setEdgeTableYPos()

Member Data Documentation

◆ areRGBComponentsEqual

◆ destData

◆ linePixels

◆ sourceColour


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