openMSX
Public Member Functions | List of all members
openmsx::BlendLines< Pixel, w1, w2 > Class Template Reference

BlendLines functor Generate an output line that is an interpolation of two input lines. More...

#include <LineScalers.hh>

Public Member Functions

 BlendLines (PixelOperations< Pixel > pixelOps)
 
void operator() (std::span< const Pixel > in1, std::span< const Pixel > in2, std::span< Pixel > out)
 

Detailed Description

template<std::unsigned_integral Pixel, unsigned w1 = 1, unsigned w2 = 1>
class openmsx::BlendLines< Pixel, w1, w2 >

BlendLines functor Generate an output line that is an interpolation of two input lines.

Parameters
in1First input line
in2Second input line
outOutput line
widthWidth of the lines in pixels

Definition at line 229 of file LineScalers.hh.

Constructor & Destructor Documentation

◆ BlendLines()

template<std::unsigned_integral Pixel, unsigned w1, unsigned w2>
openmsx::BlendLines< Pixel, w1, w2 >::BlendLines ( PixelOperations< Pixel pixelOps)
explicit

Definition at line 1086 of file LineScalers.hh.

Member Function Documentation

◆ operator()()

template<std::unsigned_integral Pixel, unsigned w1, unsigned w2>
void openmsx::BlendLines< Pixel, w1, w2 >::operator() ( std::span< const Pixel in1,
std::span< const Pixel in2,
std::span< Pixel out 
)

Definition at line 1092 of file LineScalers.hh.

References view::zip_equal().


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