68 Set(1,0,0,0,1,0,0,0,1);
76 void Set(
float fA,
float fB,
float fC,
float fD,
float fE,
float fF,
float fG,
float fH,
float fI)
85 if (iNewFlipDir ==
FlipDir)
return;
92 return (
mat[0]==1.0f) && (
mat[1]==0.0f) && (
mat[2]==0.0f)
93 && (
mat[3]==0.0f) && (
mat[4]==1.0f) && (
mat[5]==0.0f)
94 && (
mat[6]==0.0f) && (
mat[7]==0.0f) && (
mat[8]==1.0f)
126 void Set(
C4Surface * nsfc,
float nx,
float ny,
float nwdt,
float nhgt);
128 void Expand(int32_t iLeft=0, int32_t iRight=0, int32_t iTop=0, int32_t iBottom=0);
130 void DrawX(
C4Surface * sfcTarget,
float iX,
float iY,
float iWdt,
float iHgt, int32_t iPhaseX=0, int32_t iPhaseY=0)
const;
133 void DrawValue2(
C4Facet &cgo, int32_t iValue1, int32_t iValue2, int32_t iPhaseX=0, int32_t iPhaseY=0, int32_t iAlign=
C4FCT_Center, int32_t *piUsedWidth=
nullptr);
134 void Draw(
C4Facet &cgo,
bool fAspect=
true, int32_t iPhaseX=0, int32_t iPhaseY=0,
bool fTransparent=
true);
140 void DrawXT(
C4Surface * sfcTarget,
float iX,
float iY, int32_t iWdt, int32_t iHgt, int32_t iPhaseX, int32_t iPhaseY,
C4DrawTransform *pTransform);
144 void DrawXR(
C4Surface * sfcTarget, int32_t iX, int32_t iY, int32_t iWdt, int32_t iHgt, int32_t iPhaseX=0, int32_t iPhaseY=0, int32_t r=0);
145 void Draw(
C4Surface * sfcTarget,
float iX,
float iY, int32_t iPhaseX=0, int32_t iPhaseY=0);
154 {
return iHeight *
Wdt / (
Hgt ?
Hgt : 1); }
156 {
return iWidth *
Hgt / (
Wdt ?
Wdt : 1); }
184 void Set(
class C4Surface *nsfc,
float nx,
float ny,
float nwdt,
float nhgt,
float ntx=0,
float nty=0,
float Zoom=1);
186 void Set(
class C4Surface *nsfc,
float nx,
float ny,
float nwdt,
float nhgt,
float ntx,
float nty,
float Zoom,
float prx,
float pry);
const int32_t C4FCT_Bottom
const int32_t C4FCT_Double
const int32_t C4FCT_Right
const int32_t C4FCT_Triple
const int32_t C4FCT_Alignment
const int32_t C4FCT_Center
void DrawValue2(C4Facet &cgo, int32_t iValue1, int32_t iValue2, int32_t iPhaseX=0, int32_t iPhaseY=0, int32_t iAlign=C4FCT_Center, int32_t *piUsedWidth=nullptr)
void Set(const C4Facet &cpy)
void Set(C4Surface &rSfc)
void DrawT(C4Surface *sfcTarget, float iX, float iY, int32_t iPhaseX, int32_t iPhaseY, C4DrawTransform *pTransform)
C4Facet GetSection(int32_t iSection)
C4Facet GetPhase(int iPhaseX=0, int iPhaseY=0)
void DrawValue2Clr(C4Facet &cgo, int32_t iValue1, int32_t iValue2, DWORD dwClr)
void DrawFullScreen(C4Facet &cgo)
void Expand(int32_t iLeft=0, int32_t iRight=0, int32_t iTop=0, int32_t iBottom=0)
void DrawTUnscaled(C4Surface *sfcTarget, float iX, float iY, int32_t iPhaseX, int32_t iPhaseY, C4DrawTransform *pTransform)
int32_t GetSectionCount()
void DrawValue(C4Facet &cgo, int32_t iValue, int32_t iPhaseX=0, int32_t iPhaseY=0, int32_t iAlign=C4FCT_Center)
void DrawClr(C4Facet &cgo, bool fAspect=true, DWORD dwClr=0)
C4Facet Truncate(int32_t iAlign, int32_t iSize)
C4Facet TruncateSection(int32_t iAlign=C4FCT_Left)
void DrawEnergyLevelEx(int32_t iLevel, int32_t iRange, const C4Facet &gfx, int32_t bar_idx)
void Draw(C4Facet &cgo, bool fAspect=true, int32_t iPhaseX=0, int32_t iPhaseY=0, bool fTransparent=true)
void DrawXT(C4Surface *sfcTarget, float iX, float iY, int32_t iWdt, int32_t iHgt, int32_t iPhaseX, int32_t iPhaseY, C4DrawTransform *pTransform)
int32_t GetWidthByHeight(int32_t iHeight)
bool GetPhaseNum(int32_t &rX, int32_t &rY)
void DrawX(C4Surface *sfcTarget, float iX, float iY, float iWdt, float iHgt, int32_t iPhaseX=0, int32_t iPhaseY=0) const
void DrawXR(C4Surface *sfcTarget, int32_t iX, int32_t iY, int32_t iWdt, int32_t iHgt, int32_t iPhaseX=0, int32_t iPhaseY=0, int32_t r=0)
C4Facet GetFraction(int32_t percentWdt, int32_t percentHgt=0, int32_t alignX=C4FCT_Left, int32_t alignY=C4FCT_Top)
C4Facet(C4Surface *pSfc, float iX, float iY, float iWdt, float iHgt)
int32_t GetHeightByWidth(int32_t iWidth)
void DrawXClr(C4Surface *sfcTarget, int32_t iX, int32_t iY, int32_t iWdt, int32_t iHgt, DWORD dwClr)
void DrawXFloat(C4Surface *sfcTarget, float fX, float fY, float fWdt, float fHgt) const
C4TargetFacet & operator=(const C4Facet &rhs)
void SetRect(C4TargetRect &rSrc)
void Set(const C4TargetFacet &cpy)
void Set(const C4Facet &cpy)
C4Vec2D(int32_t x=0, int32_t y=0)