openMSX
Public Member Functions | List of all members
openmsx::AlphaBlendLines< Pixel > Class Template Reference

AlphaBlendLines functor Generate an output line that is a per-pixel-alpha-blend of the two input lines. More...

#include <LineScalers.hh>

Public Member Functions

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

Detailed Description

template<typename Pixel>
class openmsx::AlphaBlendLines< Pixel >

AlphaBlendLines functor Generate an output line that is a per-pixel-alpha-blend of the two input lines.

The first input line contains the alpha-value per pixel.

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

Definition at line 256 of file LineScalers.hh.

Constructor & Destructor Documentation

◆ AlphaBlendLines()

template<typename Pixel >
openmsx::AlphaBlendLines< Pixel >::AlphaBlendLines ( PixelOperations< Pixel pixelOps)
explicit

Definition at line 1087 of file LineScalers.hh.

Member Function Documentation

◆ operator()() [1/2]

template<typename Pixel >
void openmsx::AlphaBlendLines< Pixel >::operator() ( const Pixel in1,
const Pixel in2,
Pixel out,
size_t  width 
)

Definition at line 1093 of file LineScalers.hh.

◆ operator()() [2/2]

template<typename Pixel >
void openmsx::AlphaBlendLines< Pixel >::operator() ( Pixel  in1,
const Pixel in2,
Pixel out,
size_t  width 
)

Definition at line 1103 of file LineScalers.hh.


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