JUCE  v5.1.1-3-g1a0b28c73
JUCE API
RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern > Class Template Reference

Fills an edge-table with a non-transformed image. More...

#include <juce_RenderingHelpers.h>

Collaboration diagram for RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >:

Public Member Functions

 ImageFill (const Image::BitmapData &dest, const Image::BitmapData &src, const int alpha, const int x, const int y)
 
void clipEdgeTableLine (EdgeTable &et, int x, int y, int width)
 
void handleEdgeTableLine (int x, int width, int alphaLevel) const noexcept
 
void handleEdgeTableLineFull (int x, int width) const noexcept
 
forcedinline void handleEdgeTablePixel (const int x, int alphaLevel) const noexcept
 
forcedinline void handleEdgeTablePixelFull (const int x) const noexcept
 
forcedinline void setEdgeTableYPos (int y) noexcept
 

Private Member Functions

forcedinline void copyRow (DestPixelType *dest, SrcPixelType const *src, int width) const noexcept
 
forcedinline DestPixelType * getDestPixel (int const x) const noexcept
 
forcedinline SrcPixelType const * getSrcPixel (int const x) const noexcept
 

Private Attributes

const Image::BitmapDatadestData
 
const int extraAlpha
 
DestPixelType * linePixels
 
SrcPixelType * sourceLineStart
 
const Image::BitmapDatasrcData
 
const int xOffset
 
const int yOffset
 

Detailed Description

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
class RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >

Fills an edge-table with a non-transformed image.

Constructor & Destructor Documentation

◆ ImageFill()

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::ImageFill ( const Image::BitmapData dest,
const Image::BitmapData src,
const int  alpha,
const int  x,
const int  y 
)
inline

Member Function Documentation

◆ clipEdgeTableLine()

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
void RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::clipEdgeTableLine ( EdgeTable et,
int  x,
int  y,
int  width 
)
inline

◆ copyRow()

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
forcedinline void RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::copyRow ( DestPixelType *  dest,
SrcPixelType const *  src,
int  width 
) const
inlineprivatenoexcept

◆ getDestPixel()

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
forcedinline DestPixelType* RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::getDestPixel ( int const  x) const
inlineprivatenoexcept

◆ getSrcPixel()

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
forcedinline SrcPixelType const* RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::getSrcPixel ( int const  x) const
inlineprivatenoexcept

◆ handleEdgeTableLine()

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
void RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::handleEdgeTableLine ( int  x,
int  width,
int  alphaLevel 
) const
inlinenoexcept

◆ handleEdgeTableLineFull()

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
void RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::handleEdgeTableLineFull ( int  x,
int  width 
) const
inlinenoexcept

◆ handleEdgeTablePixel()

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
forcedinline void RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::handleEdgeTablePixel ( const int  x,
int  alphaLevel 
) const
inlinenoexcept

◆ handleEdgeTablePixelFull()

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
forcedinline void RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::handleEdgeTablePixelFull ( const int  x) const
inlinenoexcept

◆ setEdgeTableYPos()

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
forcedinline void RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::setEdgeTableYPos ( int  y)
inlinenoexcept

References jassert.

Member Data Documentation

◆ destData

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
const Image::BitmapData& RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::destData
private

◆ extraAlpha

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
const int RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::extraAlpha
private

◆ linePixels

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
DestPixelType* RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::linePixels
private

◆ sourceLineStart

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
SrcPixelType* RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::sourceLineStart
private

◆ srcData

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
const Image::BitmapData& RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::srcData
private

◆ xOffset

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
const int RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::xOffset
private

◆ yOffset

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
const int RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::yOffset
private

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