Here is a small demo that shows how to use the new functions of GeeXLab 0.26+ (https://www.geeks3d.com/hacklab/20181212/geexlab-0-26-0-0-released-for-windows-64-bit-zip-files-python-3-and-much-more/) that allows to load TTF fonts and to draw primitives.
The demo (20181212-imgui-primitives-and-fonts.zip) can be directly loaded by GeeXLab. Just drag and drop the zip file in GeeXLab (v0.26 required).
- Demo Download (https://www.geeks3d.com/r/50039)
- GeeXLab download (https://www.geeks3d.com/geexlab/downloads/)
More information about how to load and use TTF fonts:
- https://www.geeks3d.com/geexlab/gdr/tutorials/imgui.php#ttf_font
How to draw primitives
- https://www.geeks3d.com/geexlab/gdr/tutorials/imgui.php#primitives
(https://www.geeks3d.com/public/jegx/2018q4/geexlab-imgui-ttf-fonts-and-primitives-demo.png)