JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern > Struct Template Reference

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

#include <juce_RenderingHelpers.h>

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

Public Member Functions

 ImageFill (const Image::BitmapData &dest, const Image::BitmapData &src, int alpha, int x, 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 (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

forcedinline void copyRow (DestPixelType *dest, SrcPixelType const *src, int width) const noexcept
 
forcedinline DestPixelType * getDestPixel (int x) const noexcept
 
forcedinline SrcPixelType const * getSrcPixel (int 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>
struct juce::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>
juce::RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::ImageFill ( const Image::BitmapData dest,
const Image::BitmapData src,
int  alpha,
int  x,
int  y 
)
inline

Member Function Documentation

◆ clipEdgeTableLine()

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
void juce::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 juce::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* juce::RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::getDestPixel ( int  x) const
inlineprivatenoexcept

◆ getSrcPixel()

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

◆ handleEdgeTableLine()

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

◆ handleEdgeTableLineFull()

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

◆ handleEdgeTablePixel()

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

◆ handleEdgeTablePixelFull()

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

◆ handleEdgeTableRectangle()

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
void juce::RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::handleEdgeTableRectangle ( int  x,
int  y,
int  width,
int  height,
int  alphaLevel 
)
inlinenoexcept

◆ handleEdgeTableRectangleFull()

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
void juce::RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::handleEdgeTableRectangleFull ( int  x,
int  y,
int  width,
int  height 
)
inlinenoexcept

◆ setEdgeTableYPos()

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
forcedinline void juce::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& juce::RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::destData
private

◆ extraAlpha

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

◆ linePixels

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

◆ sourceLineStart

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

◆ srcData

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

◆ xOffset

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

◆ yOffset

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

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