CGxDevice::DrawRect
function · gx · orchestration
- Address
0x5922e0· 7 bytes, up to0x5922e6- Signature
float * __thiscall (CGxDevice *this)- Meaning
- Returns the address of the draw rectangle, +0x1ec
- Confidence
- verified, proof one
- Finding
- gx/facade#draw-rectangle
Finding: Draw rectangle in gx: facade calls
0x58a240(rect) writes the device's draw rectangle +0x1ec to rect through slot +0x5c
(GetDrawRect), four floats {top, left, bottom, right}. Both backends' slots copy it through
0x5922e0. The window events store it with the window rectangle (0x5922f0, then 0x592340), so
after a WM_SIZE it is {0, 0, client height, client width} (window.md); while a render target
is bound it is the target's size instead (CGxDevice::SetRenderTarget, 0x592230). Twelve call
sites read it, the font layer's viewport 0x5c2b50 among them.
The derivation is in the doc.
Callers 14
- CGxDeviceOpenGl::GetScreenRect gx
- CGxDeviceOpenGl::ReadPixels gx
- CGxDeviceOpenGl::ReadDepths gx
- 0x591020 gx
- 0x592140 gx
- CGxDevice::DrawCursor gx
- CGxDeviceD3d::BuildPresentParameters gx
- GxApplyViewportGL gx
- CGxDeviceOpenGl::GetDrawRect gx
- CGxDeviceD3d::CopyToTexture gx
- GxApplyViewportD3D unassigned
- CGxDeviceD3d::GetDrawRect gx
- CGxDeviceD3d::GetScreenRect gx
- CGxDeviceD3d::ApplyRenderState gx
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.