OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
Loading...
Searching...
No Matches
occtl::text::TextFacesOptions Struct Reference

Optional layout/font knobs for make_faces and make_wires. More...

#include <text.hpp>

Collaboration diagram for occtl::text::TextFacesOptions:

Public Attributes

::occtl_axis2_placement_t placement = detail::default_ax2()
 Baseline frame; defaults to XOY.
 
std::string font_family
 Family name; ignored when font_path is set.
 
std::string font_path
 Absolute path to a .ttf/.otf file.
 
::occtl_text_font_aspect_t font_aspect = OCCTL_TEXT_FONT_ASPECT_REGULAR
 
double height = 0.0
 Glyph cap height in model units; strictly positive.
 
::occtl_text_halign_t horizontal_align = OCCTL_TEXT_HALIGN_LEFT
 
::occtl_text_valign_t vertical_align = OCCTL_TEXT_VALIGN_BASELINE
 
double wrapping_width = 0.0
 Maximum line width; 0 disables wrapping.
 
bool word_wrapping = true
 Avoid breaking words when wrapping.
 

Detailed Description

Optional layout/font knobs for make_faces and make_wires.


The documentation for this struct was generated from the following file: