1 #ifndef STRETCHSCALEROUTPUT_HH
2 #define STRETCHSCALEROUTPUT_HH
8 class SDLOutputSurface;
9 template<
typename Pixel>
class PixelOperations;
10 template<
typename Pixel>
class ScalerOutput;
12 template<
typename Pixel>
15 [[nodiscard]]
static std::unique_ptr<ScalerOutput<Pixel>>
create(
A frame buffer where pixels can be written to.
This file implemented 3 utility functions:
static std::unique_ptr< ScalerOutput< Pixel > > create(SDLOutputSurface &output, PixelOperations< Pixel > pixelOps, unsigned inWidth)