ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Graphics::BlitTransform Struct Reference

#include <zblit.h>

Collaboration diagram for Graphics::BlitTransform:

List of all members.

Public Member Functions

 BlitTransform (int dstX, int dstY)
void sourceRectangle (int srcX, int srcY, int srcWidth, int srcHeight)
void tint (float aTint, float rTint=1.0f, float gTint=1.0f, float bTint=1.0f)
void scale (int width, int height)
void rotate (int rotation, int originX, int originY)
void flip (bool verticalFlip, bool horizontalFlip)
bool operator== (const BlitTransform &other) const

Public Attributes

Common::Rect _sourceRectangle
Common::Rect _destinationRectangle
int _rotation
int _originX
int _originY
float _aTint
float _rTint
float _gTint
float _bTint
bool _flipHorizontally
bool _flipVertically

Detailed Description

Definition at line 37 of file zblit.h.


Constructor & Destructor Documentation

Graphics::BlitTransform::BlitTransform ( int  dstX,
int  dstY 
) [inline]

Definition at line 38 of file zblit.h.


Member Function Documentation

void Graphics::BlitTransform::flip ( bool  verticalFlip,
bool  horizontalFlip 
) [inline]

Definition at line 69 of file zblit.h.

bool Graphics::BlitTransform::operator== ( const BlitTransform other  )  const [inline]

Definition at line 74 of file zblit.h.

void Graphics::BlitTransform::rotate ( int  rotation,
int  originX,
int  originY 
) [inline]

Definition at line 63 of file zblit.h.

void Graphics::BlitTransform::scale ( int  width,
int  height 
) [inline]

Definition at line 58 of file zblit.h.

void Graphics::BlitTransform::sourceRectangle ( int  srcX,
int  srcY,
int  srcWidth,
int  srcHeight 
) [inline]

Definition at line 44 of file zblit.h.

void Graphics::BlitTransform::tint ( float  aTint,
float  rTint = 1.0f,
float  gTint = 1.0f,
float  bTint = 1.0f 
) [inline]

Definition at line 51 of file zblit.h.


Member Data Documentation

Definition at line 85 of file zblit.h.

Definition at line 85 of file zblit.h.

Definition at line 86 of file zblit.h.

Definition at line 86 of file zblit.h.

Definition at line 85 of file zblit.h.

Definition at line 84 of file zblit.h.

Definition at line 84 of file zblit.h.

Definition at line 83 of file zblit.h.

Definition at line 85 of file zblit.h.


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


Generated on Sat Nov 16 2019 05:02:56 for ResidualVM by doxygen 1.7.1
curved edge   curved edge