6 #ifndef _INC_cXSpritePage_H
7 #define _INC_cXSpritePage_H
37 friend class cDXSpriteDC;
87 return m_Color.
get_A();
104 m_vScaling = vScaling;
111 return m_vRotationCenter;
115 m_vRotationCenter = vRotationCenter;
123 m_Rotation = Rotation;
#define GRAY3D_LINK
Definition: Gray3D.h:15
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
DWORD D3DCOLOR
Stuff normally defined in windows.h or DirectX headers.
Definition: cColorRef.h:24
Definition: cXSpritePage.h:32
void put_Rotation(RADIANf_t Rotation) noexcept
Definition: cXSpritePage.h:121
void put_Alpha(COLOR_ELEM_t bVal) noexcept
Definition: cXSpritePage.h:89
cXSpritePagePtr m_pSpritePage
source texture loaded from a file or memory + map.
Definition: cXSpritePage.h:40
PIXELS_t get_ElemWidth(void) const noexcept
Definition: cXSpritePage.h:67
void put_RotationCenter(cVector2f vRotationCenter) noexcept
Definition: cXSpritePage.h:113
COLOR_ELEM_t get_Alpha() const noexcept
Definition: cXSpritePage.h:85
PIXELS_t get_ElemHeight(void) const noexcept
Definition: cXSpritePage.h:72
D3DCOLOR put_SpriteColor(D3DCOLOR color)
cSpriteMap::ELEM_t m_nElem
element within the m_pSpritePage. (for sprite type operations)
Definition: cXSpritePage.h:41
cVector2f get_RotationCenter(void) const noexcept
Rotation.
Definition: cXSpritePage.h:109
D3DCOLOR get_SpriteColor(void) const noexcept
Color.
Definition: cXSpritePage.h:78
void SetScalingDest(int cx, int cy)
HRESULT UpdateTexureSize()
bool SetCopyElem(const cXSpriteElem &src)
void put_ObjectColor(D3DCOLOR Hue, COLOR_ELEM_t HuePercent)
cXSpriteElem(const cXSpriteElem &Sprite)
void put_Scaling(const cVector2f &vScaling) noexcept
Definition: cXSpritePage.h:101
RADIANf_t get_Rotation(void) const noexcept
Definition: cXSpritePage.h:117
bool isRenderable() const noexcept
Definition: cXSpritePage.h:60
const cVector2f & get_Scaling(void) const noexcept
Scaling.
Definition: cXSpritePage.h:96
Definition: cXSpritePage.h:20
Definition: cColorRef.h:147
COLOR_ELEM_t get_A() const noexcept
Definition: cColorRef.h:241
void put_A(COLOR_ELEM_t a) noexcept
Definition: cColorRef.h:246
Definition: cSpriteMap.h:20
int ELEM_t
what element/icon number of this sprite map?
Definition: cSpriteMap.h:34
Definition: Gray3D.cpp:12
void * cXSpritePagePtr
Definition: cXSpritePage.h:29
BYTE COLOR_ELEM_t
A single 8 bit color element. alpha, red, green, or blue intensity as 0-255.
Definition: cColorRef.h:34
float RADIANf_t
type is float radians
Definition: Calc.h:27
int PIXELS_t
Count of pixels in a dimension of some image/surface.
Definition: cSurfaceInfo.h:20
Definition: cDebugAssert.h:29