diff options
| author | Noah McQueen <nzmcqueen1996@gmail.com> | 2023-09-10 23:17:07 -0600 |
|---|---|---|
| committer | Noah McQueen <nzmcqueen1996@gmail.com> | 2023-09-10 23:17:07 -0600 |
| commit | da415ac542ccdb4379cc4e35a2c636c4e42f84a2 (patch) | |
| tree | 817957f6fab201846138c48d795256459c667345 /include/JSystem/J2DGraph | |
| parent | b82520becb16fa83e53c93fe7c1eebf2856c68aa (diff) | |
Several JSystem file matches
Diffstat (limited to 'include/JSystem/J2DGraph')
| -rw-r--r-- | include/JSystem/J2DGraph/J2DGrafContext.h | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/include/JSystem/J2DGraph/J2DGrafContext.h b/include/JSystem/J2DGraph/J2DGrafContext.h index 1d41b509..244aaf56 100644 --- a/include/JSystem/J2DGraph/J2DGrafContext.h +++ b/include/JSystem/J2DGraph/J2DGrafContext.h @@ -14,33 +14,32 @@ public: /* 0x2 */ u8 mDstFactor; }; - - /* 802E8B08 */ J2DGrafContext(f32 x, f32 y, f32 width, f32 height); - /* 802E90C0 */ void scissor(JGeometry::TBox2<f32> const& bounds); + J2DGrafContext(f32 x, f32 y, f32 width, f32 height); + void scissor(JGeometry::TBox2<f32> const& bounds); void setColor(JUtility::TColor c) { this->setColor(c, c, c, c); } - /* 802E9118 */ void setColor(JUtility::TColor colorTL, JUtility::TColor colorTR, - JUtility::TColor colorBR, JUtility::TColor colorBL); - /* 802E9234 */ void setLineWidth(u8); - /* 802E9260 */ void fillBox(JGeometry::TBox2<f32> const& box); - /* 802E9368 */ void drawFrame(JGeometry::TBox2<f32> const& box); - /* 802E9488 */ void line(JGeometry::TVec2<f32> start, JGeometry::TVec2<f32> end); - /* 802E9564 */ void lineTo(JGeometry::TVec2<f32> pos); + 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) { this->lineTo(JGeometry::TVec2<f32>(x, y)); } void moveTo(f32 x, f32 y) { this->moveTo(JGeometry::TVec2<f32>(x, y)); } void moveTo(JGeometry::TVec2<f32> pos) { mPrevPos = pos; } - /* 802E95D4 */ virtual ~J2DGrafContext() {} - /* 802E90E4 */ virtual void place(JGeometry::TBox2<f32> const& bounds); - /* 802E961C */ virtual void place(f32 x, f32 y, f32 width, f32 height) { + virtual ~J2DGrafContext() {} + virtual void place(JGeometry::TBox2<f32> const& bounds); + virtual void place(f32 x, f32 y, f32 width, f32 height) { JGeometry::TBox2<f32> box(x, y, x + width, y + height); this->place(box); } - /* 802E8BB4 */ virtual void setPort(); - /* 802E8C44 */ virtual void setup2D(); - /* 802E8E20 */ virtual void setScissor(); - /* 802E9664 */ virtual s32 getGrafType() const { return 0; } - /* 802E966C */ virtual void setLookat() {} + virtual void setPort(); + virtual void setup2D(); + virtual void setScissor(); + virtual s32 getGrafType() const { return 0; } + virtual void setLookat() {} public: /* 0x04 */ JGeometry::TBox2<f32> mBounds; |
