37 #ifndef SCALER_SCALEBIT_H 38 #define SCALER_SCALEBIT_H 40 #include "graphics/scalerplugin.h" 42 int scale_precondition(
unsigned scale,
unsigned pixel,
unsigned width,
unsigned height);
43 void scale(
unsigned scale,
void* void_dst,
unsigned dst_slice,
const void* void_src,
unsigned src_slice,
unsigned pixel,
unsigned width,
unsigned height);
51 virtual void scaleIntern(
const uint8 *srcPtr, uint32 srcPitch,
52 uint8 *dstPtr, uint32 dstPitch,
int width,
int height,
int x,
int y)
override;
Definition: scalebit.h:45
Graphics::Surface * scale(const Graphics::Surface &srcImage, int xSize, int ySize)
Definition: scalerplugin.h:28
uint decreaseFactor() override
virtual void scaleIntern(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height, int x, int y) override
uint increaseFactor() override