Crate text_on_image
source ·Expand description
A library to make placing text on images easier. Extends draw_text_mut’s functionality from imageproc.
Structs§
- A bundle of font related values.
Enums§
- Defines how the text extends from the point you place it.
- Defines where the text sits relative to the vertical coordinate provided.
- Choose whether text wraps if it would extend beyond a specified pixel length.
Functions§
- Draws text on an image with support for text jusification, vertical anchor, and line wrapping.
- Draws text on an image with a small cross where the coordinates are.