ScummVM API documentation
Graphics::TransformStruct Struct Reference

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)
 
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 FLIP_XXX.
 
bool _alphaDisable
 
TSpriteBlendMode _blendMode
 
uint32 _rgbaMod
 RGBa.
 
Common::Point _offset
 
int32 _numTimesX
 
int32 _numTimesY
 

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