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

#include <J2DOrthoGraph.h>

+ Inheritance diagram for J2DOrthoGraph:
+ Collaboration diagram for J2DOrthoGraph:

Public Member Functions

 J2DOrthoGraph ()
 
 J2DOrthoGraph (f32 x, f32 y, f32 width, f32 height, f32 far, f32 near)
 
void setOrtho (JGeometry::TBox2< f32 > const &bounds, f32 far, f32 near)
 
void scissorBounds (JGeometry::TBox2< f32 > *, JGeometry::TBox2< f32 > const *)
 
virtual ~J2DOrthoGraph ()
 
virtual void setPort ()
 
virtual s32 getGrafType () const
 
virtual void setLookat ()
 
f32 getWidthPower () const
 
f32 getHeightPower () const
 
void setOrtho (f32 x, f32 y, f32 width, f32 height, f32 far, f32 near)
 
- Public Member Functions inherited from J2DGrafContext
 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 setup2D ()
 
virtual void setScissor ()
 

Private Attributes

JGeometry::TBox2< f32mOrtho
 
f32 mNear
 
f32 mFar
 

Additional Inherited Members

- Public Attributes inherited from J2DGrafContext
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

◆ J2DOrthoGraph() [1/2]

J2DOrthoGraph::J2DOrthoGraph ( )

◆ J2DOrthoGraph() [2/2]

J2DOrthoGraph::J2DOrthoGraph ( f32  x,
f32  y,
f32  width,
f32  height,
f32  far,
f32  near 
)

◆ ~J2DOrthoGraph()

virtual J2DOrthoGraph::~J2DOrthoGraph ( )
inlinevirtual

Member Function Documentation

◆ getGrafType()

virtual s32 J2DOrthoGraph::getGrafType ( ) const
inlinevirtual

Reimplemented from J2DGrafContext.

◆ getHeightPower()

f32 J2DOrthoGraph::getHeightPower ( ) const
inline

◆ getWidthPower()

f32 J2DOrthoGraph::getWidthPower ( ) const
inline

◆ scissorBounds()

void J2DOrthoGraph::scissorBounds ( JGeometry::TBox2< f32 > *  param_0,
JGeometry::TBox2< f32 > const param_1 
)

◆ setLookat()

void J2DOrthoGraph::setLookat ( )
virtual

Reimplemented from J2DGrafContext.

◆ setOrtho() [1/2]

void J2DOrthoGraph::setOrtho ( f32  x,
f32  y,
f32  width,
f32  height,
f32  far,
f32  near 
)
inline

◆ setOrtho() [2/2]

void J2DOrthoGraph::setOrtho ( JGeometry::TBox2< f32 > const bounds,
f32  far,
f32  near 
)

◆ setPort()

void J2DOrthoGraph::setPort ( )
virtual

Reimplemented from J2DGrafContext.

Member Data Documentation

◆ mFar

f32 J2DOrthoGraph::mFar
private

◆ mNear

f32 J2DOrthoGraph::mNear
private

◆ mOrtho

JGeometry::TBox2<f32> J2DOrthoGraph::mOrtho
private

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