ScummVM API documentation
SuperEagleScaler Class Reference
Inheritance diagram for SuperEagleScaler:
Scaler

Public Member Functions

 SuperEagleScaler (const Graphics::PixelFormat &format)
 
uint increaseFactor () override
 
uint decreaseFactor () override
 
- Public Member Functions inherited from Scaler
 Scaler (const Graphics::PixelFormat &format)
 
void scale (const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height, int x, int y)
 
virtual uint getFactor () const
 
virtual uint setFactor (uint factor)
 
virtual void setSource (const byte *src, uint pitch, int width, int height, int padding)
 
virtual void enableSource (bool enable)
 

Protected Member Functions

virtual void scaleIntern (const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height, int x, int y) override
 

Additional Inherited Members

- Protected Attributes inherited from Scaler
uint _factor
 
Graphics::PixelFormat _format
 

Member Function Documentation

◆ increaseFactor()

uint SuperEagleScaler::increaseFactor ( )
overridevirtual

Increase the factor of scaling.

Returns
The new factor

Implements Scaler.

◆ decreaseFactor()

uint SuperEagleScaler::decreaseFactor ( )
overridevirtual

Decrease the factor of scaling.

Returns
The new factor

Implements Scaler.

◆ scaleIntern()

virtual void SuperEagleScaler::scaleIntern ( const uint8 *  srcPtr,
uint32  srcPitch,
uint8 *  dstPtr,
uint32  dstPitch,
int  width,
int  height,
int  x,
int  y 
)
overrideprotectedvirtual
See also
scale

Implements Scaler.


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