CGxDevice::SetDrawRect
function · gx · orchestration
- Address
0x592340· 38 bytes, up to0x592365- Signature
void __thiscall (CGxDevice *this, const float *rect)- Meaning
- Stores a rectangle as 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 4
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.