JFLib

JFLib API reference#

Generated by python tools/gendoc.py from the doc comments of lib -- do not edit by hand; python tools/gendoc.py --check tells whether this file is up to date.

Every crate is #![no_std]. An app depends on ui (which brings gfx, text, plat, base, img_core and the codecs), links one style crate as style and calls ui::run (docs/GUIDE.md). Colours are 0xAARRGGBB, straight alpha in the API, premultiplied (FMT_PARGB) in images. UI sizes are DIP (96 dpi = 100 %), drawing works in pixels. A name in a description such as ui_box_begin or [img_save] is the assembly routine the function was ported from; the algorithm specs in legacy/ASMLIB/docs/modules/*.md describe both versions.

Not listed here: simd (the SSE2 / AVX2 kernel layer, see lib/simd/README.md), the style crates (docs/STYLES.md), plugins (plugins/README.md).

Contents#

Source: docs/API.md in the JFLib repository.