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

Public Member Functions

 BresenhamInterpolator () noexcept
 
void set (int n1, int n2, int steps, int offsetInt) noexcept
 
forcedinline void stepToNext () noexcept
 

Public Attributes

int n
 

Private Attributes

int modulo
 
int numSteps
 
int remainder
 
int step
 

Constructor & Destructor Documentation

◆ BresenhamInterpolator()

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
juce::RenderingHelpers::EdgeTableFillers::TransformedImageFill< DestPixelType, SrcPixelType, repeatPattern >::TransformedImageSpanInterpolator::BresenhamInterpolator::BresenhamInterpolator ( )
inlinenoexcept

Member Function Documentation

◆ set()

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
void juce::RenderingHelpers::EdgeTableFillers::TransformedImageFill< DestPixelType, SrcPixelType, repeatPattern >::TransformedImageSpanInterpolator::BresenhamInterpolator::set ( int  n1,
int  n2,
int  steps,
int  offsetInt 
)
inlinenoexcept

◆ stepToNext()

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
forcedinline void juce::RenderingHelpers::EdgeTableFillers::TransformedImageFill< DestPixelType, SrcPixelType, repeatPattern >::TransformedImageSpanInterpolator::BresenhamInterpolator::stepToNext ( )
inlinenoexcept

Member Data Documentation

◆ modulo

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
int juce::RenderingHelpers::EdgeTableFillers::TransformedImageFill< DestPixelType, SrcPixelType, repeatPattern >::TransformedImageSpanInterpolator::BresenhamInterpolator::modulo
private

◆ n

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
int juce::RenderingHelpers::EdgeTableFillers::TransformedImageFill< DestPixelType, SrcPixelType, repeatPattern >::TransformedImageSpanInterpolator::BresenhamInterpolator::n

◆ numSteps

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
int juce::RenderingHelpers::EdgeTableFillers::TransformedImageFill< DestPixelType, SrcPixelType, repeatPattern >::TransformedImageSpanInterpolator::BresenhamInterpolator::numSteps
private

◆ remainder

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
int juce::RenderingHelpers::EdgeTableFillers::TransformedImageFill< DestPixelType, SrcPixelType, repeatPattern >::TransformedImageSpanInterpolator::BresenhamInterpolator::remainder
private

◆ step

template<class DestPixelType, class SrcPixelType, bool repeatPattern>
int juce::RenderingHelpers::EdgeTableFillers::TransformedImageFill< DestPixelType, SrcPixelType, repeatPattern >::TransformedImageSpanInterpolator::BresenhamInterpolator::step
private

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