JUCE  v6.1.6 (6.0.8-1114)
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 ()=default
 
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 ( )
default

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

References juce::gl::n.

◆ stepToNext()

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

References juce::gl::n.

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: