#include <C4Facet.h>
Public Member Functions | |
C4DrawTransform (C4DrawTransform &rCopy, float iOffX, float iOffY) | |
C4DrawTransform () | |
C4DrawTransform (int32_t iFlipDir) | |
~C4DrawTransform ()=default | |
void | SetTransformAt (C4DrawTransform &rCopy, float iOffX, float iOffY) |
void | Set (float fA, float fB, float fC, float fD, float fE, float fF, float fG, float fH, float fI) |
void | SetFlipDir (int32_t iNewFlipDir) |
bool | IsIdentity () const |
bool | operator== (const C4DrawTransform &rCmp) const |
C4DrawTransform * | operator& () |
void | CompileFunc (StdCompiler *pComp) |
int32_t | GetXOffset () const |
int32_t | GetYOffset () const |
void | SetRotate (float iAngle, float fOffX, float fOffY) |
bool | SetAsInv (C4BltTransform &rOfTransform) |
void | Rotate (float Angle, float fOffX, float fOffY) |
void | SetMoveScale (float dx, float dy, float sx, float sy) |
void | MoveScale (float dx, float dy, float sx, float sy) |
void | ScaleAt (float sx, float sy, float tx, float ty) |
C4BltTransform & | operator*= (const C4BltTransform &r) |
void | TransformPoint (float &rX, float &rY) const |
Public Attributes | |
int32_t | FlipDir |
float | mat [9] |
|
inline |
Definition at line 52 of file C4Facet.h.
References SetTransformAt().
|
inline |
|
inline |
Definition at line 63 of file C4Facet.h.
References FlipDir, and Set().
|
default |
void C4DrawTransform::CompileFunc | ( | StdCompiler * | pComp | ) |
Definition at line 482 of file C4Facet.cpp.
References StdStrBuf::Append(), StdStrBuf::AppendChar(), FlipDir, StdStrBuf::Format(), StdStrBuf::getData(), StdStrBuf::getMData(), StdCompiler::hasNaming(), StdCompiler::isDeserializer(), C4BltTransform::mat, mkParAdapt(), StdCompiler::RCT_Idtf, StdCompiler::SEP_PART, StdCompiler::Separator(), StdStrBuf::SetLength(), and StdCompiler::Value().
|
inline |
Definition at line 109 of file C4Facet.h.
References C4BltTransform::mat.
Referenced by C4GraphicsOverlay::Draw().
|
inline |
Definition at line 110 of file C4Facet.h.
References C4BltTransform::mat.
Referenced by C4GraphicsOverlay::Draw().
|
inline |
Definition at line 90 of file C4Facet.h.
References FlipDir, and C4BltTransform::mat.
Referenced by C4Object::UpdateFlipDir().
|
inlineinherited |
Definition at line 43 of file C4BltTransform.h.
References C4BltTransform::SetMoveScale().
Referenced by C4BltTransform::ScaleAt().
|
inline |
|
inlineinherited |
Definition at line 54 of file C4BltTransform.h.
References C4BltTransform::mat, and C4BltTransform::Set().
|
inline |
|
inlineinherited |
Definition at line 31 of file C4BltTransform.h.
References Angle(), and C4BltTransform::SetRotate().
Referenced by C4Object::DrawActionFace(), and C4Object::DrawFace().
|
inlineinherited |
Definition at line 49 of file C4BltTransform.h.
References C4BltTransform::MoveScale().
Referenced by C4GraphicsOverlay::Draw().
|
inline |
Definition at line 76 of file C4Facet.h.
References FlipDir, and C4BltTransform::Set().
Referenced by C4DrawTransform(), and CStdFont::DrawText().
|
inherited |
Definition at line 42 of file C4BltTransform.cpp.
References C4BltTransform::mat, and C4BltTransform::Set().
Referenced by C4Draw::Blit8().
|
inline |
Definition at line 82 of file C4Facet.h.
References FlipDir, and C4BltTransform::mat.
Referenced by C4Object::UpdateFlipDir().
|
inlineinherited |
Definition at line 37 of file C4BltTransform.h.
References C4BltTransform::mat.
Referenced by C4Draw::Blit8(), and C4BltTransform::MoveScale().
|
inherited |
Definition at line 21 of file C4BltTransform.cpp.
References C4BltTransform::mat.
Referenced by C4Object::DrawActionFace(), C4Object::DrawFace(), C4GUI::Element::DrawHBarByVGfx(), C4Facet::DrawXR(), and C4BltTransform::Rotate().
void C4DrawTransform::SetTransformAt | ( | C4DrawTransform & | rCopy, |
float | iOffX, | ||
float | iOffY | ||
) |
Definition at line 541 of file C4Facet.cpp.
References C4BltTransform::mat, and C4BltTransform::Set().
Referenced by C4DrawTransform(), C4Object::DrawActionFace(), and C4Object::DrawFace().
|
inherited |
Definition at line 61 of file C4BltTransform.cpp.
References C4BltTransform::mat.
Referenced by C4Draw::Blit8().
int32_t C4DrawTransform::FlipDir |
Definition at line 50 of file C4Facet.h.
Referenced by C4DrawTransform(), CompileFunc(), IsIdentity(), operator==(), Set(), and SetFlipDir().
|
inherited |
Definition at line 24 of file C4BltTransform.h.
Referenced by C4MarkupTagItalic::Apply(), C4Draw::BlitUnscaled(), CompileFunc(), CStdFont::DrawText(), GetXOffset(), GetYOffset(), IsIdentity(), C4BltTransform::operator*=(), operator==(), C4BltTransform::Set(), C4BltTransform::SetAsInv(), SetFlipDir(), C4BltTransform::SetMoveScale(), C4BltTransform::SetRotate(), SetTransformAt(), CStdGL::SetupMultiBlt(), and C4BltTransform::TransformPoint().