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 Struct Reference
Collaboration diagram for juce::RenderingHelpers::EdgeTableFillers::TransformedImageFill< DestPixelType, SrcPixelType, repeatPattern >::TransformedImageSpanInterpolator:

Classes

struct  BresenhamInterpolator
 

Public Member Functions

 TransformedImageSpanInterpolator (const AffineTransform &transform, float offsetFloat, int offsetInt) noexcept
 
void next (int &px, int &py) noexcept
 
void setStartOfLine (float sx, float sy, int numPixels) noexcept
 

Private Attributes

const AffineTransform inverseTransform
 
const float pixelOffset
 
const int pixelOffsetInt
 
BresenhamInterpolator xBresenham
 
BresenhamInterpolator yBresenham
 

Constructor & Destructor Documentation

◆ TransformedImageSpanInterpolator()

template<class DestPixelType , class SrcPixelType , bool repeatPattern>
juce::RenderingHelpers::EdgeTableFillers::TransformedImageFill< DestPixelType, SrcPixelType, repeatPattern >::TransformedImageSpanInterpolator::TransformedImageSpanInterpolator ( const AffineTransform transform,
float  offsetFloat,
int  offsetInt 
)
inlinenoexcept

Member Function Documentation

◆ next()

template<class DestPixelType , class SrcPixelType , bool repeatPattern>
void juce::RenderingHelpers::EdgeTableFillers::TransformedImageFill< DestPixelType, SrcPixelType, repeatPattern >::TransformedImageSpanInterpolator::next ( int px,
int py 
)
inlinenoexcept

◆ setStartOfLine()

template<class DestPixelType , class SrcPixelType , bool repeatPattern>
void juce::RenderingHelpers::EdgeTableFillers::TransformedImageFill< DestPixelType, SrcPixelType, repeatPattern >::TransformedImageSpanInterpolator::setStartOfLine ( float  sx,
float  sy,
int  numPixels 
)
inlinenoexcept

References jassert, juce::gl::x1, and juce::gl::y1.

Member Data Documentation

◆ inverseTransform

template<class DestPixelType , class SrcPixelType , bool repeatPattern>
const AffineTransform juce::RenderingHelpers::EdgeTableFillers::TransformedImageFill< DestPixelType, SrcPixelType, repeatPattern >::TransformedImageSpanInterpolator::inverseTransform
private

◆ pixelOffset

template<class DestPixelType , class SrcPixelType , bool repeatPattern>
const float juce::RenderingHelpers::EdgeTableFillers::TransformedImageFill< DestPixelType, SrcPixelType, repeatPattern >::TransformedImageSpanInterpolator::pixelOffset
private

◆ pixelOffsetInt

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

◆ xBresenham

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

◆ yBresenham

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

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