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

Public Member Functions

 DotMatrixScaler (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 DotMatrixScaler::increaseFactor ( )
overridevirtual

Increase the factor of scaling.

Returns
The new factor

Implements Scaler.

◆ decreaseFactor()

uint DotMatrixScaler::decreaseFactor ( )
overridevirtual

Decrease the factor of scaling.

Returns
The new factor

Implements Scaler.

◆ scaleIntern()

virtual void DotMatrixScaler::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: