benilla-re systems structs docs

Region::GetBottom

function · ui · primitive

Address
0x7a1ce0 · 282 bytes, up to 0x7a1df9
Signature
int __fastcall (lua_State *L)
Meaning
Answers the bottom edge over the layout scale in script units, or nil for an invalid rectangle
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/methods#the-other-getters
Test
ui::luabind_7a1_getters, ui::region_edge_getters_whole

Finding: The other getters in ui: the Frame and Region methods

The other size and position getters take the same steps:

methodanswers
GetHeightas GetWidth, with slot 0x20 (+0x54) and top − bottom
GetWidth, GetHeight of a textureslot 0x1c or 0x20 is 0x770720 or 0x770790: +0x50 or +0x54, or when that is 0 and an image is set, the image's width or height in texels as S stores it, at 53 bits; a texture without an image, or with a zero-sized one, falls back to the span
GetWidth, GetHeight of a font stringslot 0x1c or 0x20 is 0x772930 or 0x772a60: +0x50 or +0x54, or when that is 0 the text's width or height, raised to S(1) when not above it; never 0, so never the span
GetRight, GetTop, GetBottomas GetLeft, with the right, top or bottom edge
GetCenterE((right − left)·0.5 + left), then E((top − bottom)·0.5 + bottom), the midpoints at 53 bits; two nils for an invalid rectangle
GetPointG of the point's x and y offsets
GetHitRectInsetsG of the four insets, in the order SetHitRectInsets takes them

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 12

Calls and jumps by a bare address, from tables/calls.tsv.