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

#include <occtl_text.h>

Public Attributes

uint32_t struct_version
 
const void * p_next
 
double wrapping_width
 
int32_t word_wrapping
 

Detailed Description

Optional layout extension for occtl_text_info_t::p_next.

Enables OCCT text wrapping while preserving the v1 text-info ABI. When present, pass a pointer to this struct in occtl_text_info_t::p_next.

Member Data Documentation

◆ p_next

const void* occtl_text_layout_options::p_next

Reserved for future extensions; must be NULL.

◆ struct_version

uint32_t occtl_text_layout_options::struct_version

Must be OCCTL_TEXT_LAYOUT_OPTIONS_VERSION_1.

◆ word_wrapping

int32_t occtl_text_layout_options::word_wrapping

0/1; non-zero avoids breaking words when wrapping. Default 1.

◆ wrapping_width

double occtl_text_layout_options::wrapping_width

Maximum formatted text width in model units; 0.0 disables wrapping.


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