2021-03-28 22:49:05 +02:00
|
|
|
#ifndef J2DGRAFCONTEXT_H
|
|
|
|
|
#define J2DGRAFCONTEXT_H
|
2021-01-25 06:57:35 -08:00
|
|
|
|
2021-08-28 07:25:03 -07:00
|
|
|
#include "JSystem/JGeometry.h"
|
|
|
|
|
#include "JSystem/JUtility.h"
|
2021-01-25 06:57:35 -08:00
|
|
|
#include "dolphin/types.h"
|
|
|
|
|
|
2021-08-28 07:25:03 -07:00
|
|
|
struct J2DGrafContext {
|
|
|
|
|
/* 802E8B08 */ J2DGrafContext(f32, f32, f32, f32);
|
|
|
|
|
/* 802E8BB4 */ void setPort();
|
|
|
|
|
/* 802E8C44 */ void setup2D();
|
|
|
|
|
/* 802E8E20 */ void setScissor();
|
|
|
|
|
/* 802E90C0 */ void scissor(JGeometry::TBox2<f32> const&);
|
|
|
|
|
/* 802E90E4 */ void place(JGeometry::TBox2<f32> const&);
|
|
|
|
|
/* 802E961C */ void place(f32, f32, f32, f32);
|
|
|
|
|
/* 802E9118 */ void setColor(JUtility::TColor, JUtility::TColor, JUtility::TColor,
|
|
|
|
|
JUtility::TColor);
|
|
|
|
|
/* 802E9234 */ void setLineWidth(u8);
|
|
|
|
|
/* 802E9260 */ void fillBox(JGeometry::TBox2<f32> const&);
|
|
|
|
|
/* 802E9368 */ void drawFrame(JGeometry::TBox2<f32> const&);
|
|
|
|
|
/* 802E9488 */ void line(JGeometry::TVec2<f32>, JGeometry::TVec2<f32>);
|
|
|
|
|
/* 802E9564 */ void lineTo(JGeometry::TVec2<f32>);
|
|
|
|
|
/* 802E95D4 */ ~J2DGrafContext();
|
|
|
|
|
/* 802E9664 */ bool getGrafType() const;
|
|
|
|
|
/* 802E966C */ void setLookat();
|
|
|
|
|
};
|
|
|
|
|
|
2021-03-28 22:49:05 +02:00
|
|
|
#endif /* J2DGRAFCONTEXT_H */
|