mirror of
https://github.com/zeldaret/tp
synced 2026-08-18 05:38:47 -04:00
J2DGrafContext and J2DOrthoGraph
This commit is contained in:
@@ -11,10 +11,12 @@ public:
|
||||
/* 802E980C */ void setOrtho(JGeometry::TBox2<f32> const&, f32, f32);
|
||||
/* 802E987C */ void scissorBounds(JGeometry::TBox2<f32>*, JGeometry::TBox2<f32> const*);
|
||||
|
||||
/* 8000B118 */ virtual ~J2DOrthoGraph();
|
||||
/* 8000B118 */ virtual ~J2DOrthoGraph() {}
|
||||
/* 802E97B4 */ virtual void setPort();
|
||||
/* 802E9C88 */ virtual bool getGrafType() const;
|
||||
/* 802E9C88 */ virtual s32 getGrafType() const { return 1; }
|
||||
/* 802E9840 */ virtual void setLookat();
|
||||
f32 getWidthPower() const { return mBounds.getWidth() / mOrtho.getWidth(); }
|
||||
f32 getHeightPower() const { return mBounds.getHeight() / mOrtho.getHeight(); }
|
||||
|
||||
private:
|
||||
/* 0xBC */ JGeometry::TBox2<f32> mOrtho;
|
||||
@@ -22,4 +24,10 @@ private:
|
||||
/* 0xD0 */ f32 mFar;
|
||||
};
|
||||
|
||||
void J2DFillBox(f32 param_0, f32 param_1, f32 param_2, f32 param_3, JUtility::TColor color);
|
||||
void J2DFillBox(JGeometry::TBox2<f32> const& param_0, JUtility::TColor param_1);
|
||||
void J2DDrawFrame(f32 param_0, f32 param_1, f32 param_2, f32 param_3, JUtility::TColor param_4,
|
||||
u8 param_5);
|
||||
void J2DDrawFrame(JGeometry::TBox2<f32> const& param_0, JUtility::TColor param_1, u8 param_2);
|
||||
|
||||
#endif /* J2DORTHOGRAPH_H */
|
||||
|
||||
Reference in New Issue
Block a user