image_scale_txcos(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

πŸ’… NAME πŸ’…

okay so this is image_scale_txcos(3) from the Arcan Lua API, bestie, and its whole main-character job is literally: Multiply the current set of texture coordinates uniformly. no cap, that’s the vibe. πŸŽ€

It’s giving β€œtiny but iconic” β€” the name says exactly what it does, and the page keeps it cute and short. ✨


✨ SYNOPSIS ✨

the synopsis is short and slay:

nil
image_scale_txcos( vid, fact_s, fact_t )

so yeah, it shows nil first, then the call with vid, fact_s, and fact_t. periodt. πŸ’…


πŸŽ€ EXAMPLE πŸŽ€

here’s the example, copied exactly β€” yes, image_suface_properties is spelled like that in the original, and we do not fix it, bestie:

function image_scale_txcos0()
      a = load_image("test.png");
      switch_default_texmode(TEX_REPEAT, TEX_REPEAT, a);
      show_image(a);
      resize_image(a, VRESW, VRESH);
      props = image_suface_properties(a);
      image_scale_txcos(a, VRESW / props.width, VRESH / props.height);
end
image_suface_properties β€” typo and all, that’s exactly what the original says. leave it be, iykyk 😭

🌈 SEE ALSO 🌈


that’s the whole page, bestie 🫢 β€” brought to you by image, dated October 2026, and yes, the page title is still image_scale_txcos(3). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from