![]() |
Jetson Inference
DNN Vision Library
|
TTF font rasterization and image overlay rendering using CUDA. More...
Classes | |
class | cudaFont |
TTF font rasterization and image overlay rendering using CUDA. More... | |
Functions | |
float | adaptFontSize (uint32_t dimension) |
Determine an appropriate font size given a particular dimension to use (typically an image's width). More... | |
TTF font rasterization and image overlay rendering using CUDA.
float adaptFontSize | ( | uint32_t | dimension | ) |
Determine an appropriate font size given a particular dimension to use (typically an image's width).
Then the font won't be radically unsized.
dimension | The dimension's size to fit against (i.e. image width) |