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 iterpolation of two input lines. More...

#include <LineScalers.hh>

Public Member Functions

 BlendLines (PixelOperations< Pixel > pixelOps)
 
void operator() (const Pixel *in1, const Pixel *in2, Pixel *out, size_t width)
 

Detailed Description

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

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

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

Definition at line 224 of file LineScalers.hh.

Constructor & Destructor Documentation

◆ BlendLines()

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

Definition at line 1044 of file LineScalers.hh.

Member Function Documentation

◆ operator()()

template<typename Pixel , unsigned w1, unsigned w2>
void openmsx::BlendLines< Pixel, w1, w2 >::operator() ( const Pixel in1,
const Pixel in2,
Pixel out,
size_t  width 
)

Definition at line 1050 of file LineScalers.hh.


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