Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J2DGrafContext Class Reference

#include <J2DGrafContext.h>

+ Inheritance diagram for J2DGrafContext:
+ Collaboration diagram for J2DGrafContext:

Classes

struct  Blend
 

Public Member Functions

 J2DGrafContext (f32 x, f32 y, f32 width, f32 height)
 
void scissor (JGeometry::TBox2< f32 > const &bounds)
 
void scissor (f32 x, f32 y, f32 width, f32 height)
 
void setColor (JUtility::TColor c)
 
void setColor (JUtility::TColor colorTL, JUtility::TColor colorTR, JUtility::TColor colorBR, JUtility::TColor colorBL)
 
void setLineWidth (u8)
 
void fillBox (JGeometry::TBox2< f32 > const &box)
 
void drawFrame (JGeometry::TBox2< f32 > const &box)
 
void line (JGeometry::TVec2< f32 > start, JGeometry::TVec2< f32 > end)
 
void lineTo (JGeometry::TVec2< f32 > pos)
 
void lineTo (f32 x, f32 y)
 
void moveTo (f32 x, f32 y)
 
void moveTo (JGeometry::TVec2< f32 > pos)
 
virtual ~J2DGrafContext ()
 
virtual void place (JGeometry::TBox2< f32 > const &bounds)
 
virtual void place (f32 x, f32 y, f32 width, f32 height)
 
virtual void setPort ()
 
virtual void setup2D ()
 
virtual void setScissor ()
 
virtual s32 getGrafType () const
 
virtual void setLookat ()
 

Public Attributes

JGeometry::TBox2< f32mBounds
 
JGeometry::TBox2< f32mScissorBounds
 
JUtility::TColor mColorTL
 
JUtility::TColor mColorTR
 
JUtility::TColor mColorBR
 
JUtility::TColor mColorBL
 
u8 mLineWidth
 
JGeometry::TVec2< f32mPrevPos
 
Mtx44 mMtx44
 
Mtx mPosMtx
 
Blend field_0xb0
 
Blend mLinePart
 
Blend mBoxPart
 

Constructor & Destructor Documentation

◆ J2DGrafContext()

J2DGrafContext::J2DGrafContext ( f32  x,
f32  y,
f32  width,
f32  height 
)

◆ ~J2DGrafContext()

virtual J2DGrafContext::~J2DGrafContext ( )
inlinevirtual

Member Function Documentation

◆ drawFrame()

void J2DGrafContext::drawFrame ( JGeometry::TBox2< f32 > const box)

◆ fillBox()

void J2DGrafContext::fillBox ( JGeometry::TBox2< f32 > const box)

◆ getGrafType()

virtual s32 J2DGrafContext::getGrafType ( ) const
inlinevirtual

Reimplemented in J2DOrthoGraph.

◆ line()

void J2DGrafContext::line ( JGeometry::TVec2< f32 start,
JGeometry::TVec2< f32 end 
)

◆ lineTo() [1/2]

void J2DGrafContext::lineTo ( f32  x,
f32  y 
)
inline

◆ lineTo() [2/2]

void J2DGrafContext::lineTo ( JGeometry::TVec2< f32 pos)

◆ moveTo() [1/2]

void J2DGrafContext::moveTo ( f32  x,
f32  y 
)
inline

◆ moveTo() [2/2]

void J2DGrafContext::moveTo ( JGeometry::TVec2< f32 pos)
inline

◆ place() [1/2]

virtual void J2DGrafContext::place ( f32  x,
f32  y,
f32  width,
f32  height 
)
inlinevirtual

◆ place() [2/2]

void J2DGrafContext::place ( JGeometry::TBox2< f32 > const bounds)
virtual

◆ scissor() [1/2]

void J2DGrafContext::scissor ( f32  x,
f32  y,
f32  width,
f32  height 
)
inline

◆ scissor() [2/2]

void J2DGrafContext::scissor ( JGeometry::TBox2< f32 > const bounds)

◆ setColor() [1/2]

void J2DGrafContext::setColor ( JUtility::TColor  c)
inline

◆ setColor() [2/2]

void J2DGrafContext::setColor ( JUtility::TColor  colorTL,
JUtility::TColor  colorTR,
JUtility::TColor  colorBR,
JUtility::TColor  colorBL 
)

◆ setLineWidth()

void J2DGrafContext::setLineWidth ( u8  lineWidth)

◆ setLookat()

virtual void J2DGrafContext::setLookat ( )
inlinevirtual

Reimplemented in J2DOrthoGraph.

◆ setPort()

void J2DGrafContext::setPort ( )
virtual

Reimplemented in J2DOrthoGraph.

◆ setScissor()

void J2DGrafContext::setScissor ( )
virtual

◆ setup2D()

void J2DGrafContext::setup2D ( )
virtual

Member Data Documentation

◆ field_0xb0

Blend J2DGrafContext::field_0xb0

◆ mBounds

JGeometry::TBox2<f32> J2DGrafContext::mBounds

◆ mBoxPart

Blend J2DGrafContext::mBoxPart

◆ mColorBL

JUtility::TColor J2DGrafContext::mColorBL

◆ mColorBR

JUtility::TColor J2DGrafContext::mColorBR

◆ mColorTL

JUtility::TColor J2DGrafContext::mColorTL

◆ mColorTR

JUtility::TColor J2DGrafContext::mColorTR

◆ mLinePart

Blend J2DGrafContext::mLinePart

◆ mLineWidth

u8 J2DGrafContext::mLineWidth

◆ mMtx44

Mtx44 J2DGrafContext::mMtx44

◆ mPosMtx

Mtx J2DGrafContext::mPosMtx

◆ mPrevPos

JGeometry::TVec2<f32> J2DGrafContext::mPrevPos

◆ mScissorBounds

JGeometry::TBox2<f32> J2DGrafContext::mScissorBounds

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