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

Graphics::TransformStruct Struct Reference

#include <transform_struct.h>

Collaboration diagram for Graphics::TransformStruct:

List of all members.

Public Member Functions

 TransformStruct (int32 zoomX, int32 zoomY, uint32 angle, int32 hotspotX, int32 hotspotY, TSpriteBlendMode blendMode, uint32 alpha, bool mirrorX=false, bool mirrorY=false, int32 offsetX=0, int32 offsetY=0)
 TransformStruct (float zoomX, float zoomY, uint32 angle, int32 hotspotX, int32 hotspotY, TSpriteBlendMode blendMode, uint32 alpha, bool mirrorX=false, bool mirrorY=false, int32 offsetX=0, int32 offsetY=0)
 TransformStruct (int32 zoomX, int32 zoomY, TSpriteBlendMode blendMode, uint32 alpha, bool mirrorX=false, bool mirrorY=false)
 TransformStruct (int32 zoomX, int32 zoomY, uint32 angle, int32 hotspotX=0, int32 hotspotY=0)
 TransformStruct (int32 numTimesX, int32 numTimesY)
 TransformStruct ()
bool getMirrorX () const
bool getMirrorY () const
bool operator== (const TransformStruct &compare) const
bool operator!= (const TransformStruct &compare) const

Public Attributes

Common::Point _zoom
 Zoom; 100 = no zoom.
Common::Point _hotspot
 Position of the hotspot.
int32 _angle
 Rotation angle, in degrees.
byte _flip
 Bitflag: see TransparentSurface::FLIP_XXX.
bool _alphaDisable
TSpriteBlendMode _blendMode
uint32 _rgbaMod
 RGBa.
Common::Point _offset
int32 _numTimesX
int32 _numTimesY

Private Member Functions

void init (Common::Point zoom, uint32 angle, Common::Point hotspot, bool alphaDisable, TSpriteBlendMode blendMode, uint32 alpha, bool mirrorX, bool mirrorY, Common::Point offset)

Detailed Description

Definition at line 54 of file transform_struct.h.


Constructor & Destructor Documentation

Graphics::TransformStruct::TransformStruct ( int32  zoomX,
int32  zoomY,
uint32  angle,
int32  hotspotX,
int32  hotspotY,
TSpriteBlendMode  blendMode,
uint32  alpha,
bool  mirrorX = false,
bool  mirrorY = false,
int32  offsetX = 0,
int32  offsetY = 0 
)

Definition at line 43 of file transform_struct.cpp.

Graphics::TransformStruct::TransformStruct ( float  zoomX,
float  zoomY,
uint32  angle,
int32  hotspotX,
int32  hotspotY,
TSpriteBlendMode  blendMode,
uint32  alpha,
bool  mirrorX = false,
bool  mirrorY = false,
int32  offsetX = 0,
int32  offsetY = 0 
)

Definition at line 54 of file transform_struct.cpp.

Graphics::TransformStruct::TransformStruct ( int32  zoomX,
int32  zoomY,
TSpriteBlendMode  blendMode,
uint32  alpha,
bool  mirrorX = false,
bool  mirrorY = false 
)

Definition at line 66 of file transform_struct.cpp.

Graphics::TransformStruct::TransformStruct ( int32  zoomX,
int32  zoomY,
uint32  angle,
int32  hotspotX = 0,
int32  hotspotY = 0 
)

Definition at line 78 of file transform_struct.cpp.

Graphics::TransformStruct::TransformStruct ( int32  numTimesX,
int32  numTimesY 
)

Definition at line 89 of file transform_struct.cpp.

Graphics::TransformStruct::TransformStruct (  ) 

Definition at line 102 of file transform_struct.cpp.


Member Function Documentation

bool Graphics::TransformStruct::getMirrorX (  )  const

Definition at line 113 of file transform_struct.cpp.

bool Graphics::TransformStruct::getMirrorY (  )  const

Definition at line 117 of file transform_struct.cpp.

void Graphics::TransformStruct::init ( Common::Point  zoom,
uint32  angle,
Common::Point  hotspot,
bool  alphaDisable,
TSpriteBlendMode  blendMode,
uint32  alpha,
bool  mirrorX,
bool  mirrorY,
Common::Point  offset 
) [private]

Definition at line 28 of file transform_struct.cpp.

bool Graphics::TransformStruct::operator!= ( const TransformStruct compare  )  const [inline]

Definition at line 93 of file transform_struct.h.

bool Graphics::TransformStruct::operator== ( const TransformStruct compare  )  const [inline]

Definition at line 80 of file transform_struct.h.


Member Data Documentation

Rotation angle, in degrees.

Definition at line 68 of file transform_struct.h.

Bitflag: see TransparentSurface::FLIP_XXX.

Definition at line 69 of file transform_struct.h.

Position of the hotspot.

Definition at line 67 of file transform_struct.h.

Zoom; 100 = no zoom.

Definition at line 66 of file transform_struct.h.


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


Generated on Sat Jan 12 2019 05:04:21 for ResidualVM by doxygen 1.7.1
curved edge   curved edge