Fills an edge-table with a solid colour. More...
#include <juce_RenderingHelpers.h>
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::BitmapData & | destData |
PixelRGB | filler [4] |
PixelType * | linePixels |
PixelARGB | sourceColour |
Fills an edge-table with a solid colour.
|
inline |
|
inlineprivatenoexcept |
References JUCE_PERFORM_PIXEL_OP_LOOP.
|
inlineprivatenoexcept |
References addBytesToPointer(), and Image::BitmapData::pixelStride.
|
inlinenoexcept |
References PixelARGB::getAlpha(), and PixelARGB::multiplyAlpha().
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineprivatenoexcept |
References JUCE_PERFORM_PIXEL_OP_LOOP, Image::BitmapData::pixelStride, and PixelRGB::set().
|
inlineprivatenoexcept |
References JUCE_PERFORM_PIXEL_OP_LOOP, and Image::BitmapData::pixelStride.
|
inlineprivatenoexcept |
References JUCE_DECLARE_NON_COPYABLE, and JUCE_PERFORM_PIXEL_OP_LOOP.
|
inlinenoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |