CSimpleHTML::AddImage
function · ui · orchestration
- Address
0x78ab40· 616 bytes, up to0x78ada7- Meaning
- Adds an IMG texture hung from the last text block by its align
- Confidence
- verified, proof one
- Finding
- ui/simplehtml#images
- Test
ui::glue_geom_78ab40_unit_convert_and_subtract
Finding: Images in ui: SimpleHTML
IMG makes a texture of the src file in the ARTWORK layer, sized by its width and height in
script units when given. Aligned LEFT, CENTER or RIGHT, it hangs from the last text block's
bottom left, middle or right corner (the frame's top when there is none) at the current offset;
any other align leaves it unanchored. A LEFT or RIGHT image floats; any other moves the next
block down by its height. An image never becomes the block the next one hangs from.
The derivation is in the doc.
Callers 1
Callees 10
- GetScaledScreenAspect screencoord
- MultiplyByScreenScaleX screencoord
- SMemAlloc storm
- SStrToFloat storm
- ParseJustify ui
- GetXMLAttribute ui
- GetBlockPoolData base
- CLayoutFrame::SetPoint ui
- CSimpleTexture::CSimpleTexture ui
- CSimpleTexture::SetTexture ui
Calls and jumps by a bare address, from tables/calls.tsv.