Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
text.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
(** Types pertaining to the configuration of OpenSCAD text objects. *) type h_align = | Left | Center | Right let h_align_to_string = function | Left -> "left" | Center -> "center" | Right -> "right" type v_align = | Top | Center | Baseline let v_align_to_string = function | Top -> "top" | Center -> "center" | Baseline -> "baseline" type direction = | LeftToRight | RightToLeft | TopToBottom | BottomToTop let direction_to_string = function | LeftToRight -> "ltr" | RightToLeft -> "rtl" | TopToBottom -> "ttb" | BottomToTop -> "btt" type t = { text : string ; size : float option ; font : string option ; halign : h_align option ; valign : v_align option ; spacing : float option ; direction : direction option ; language : string option ; script : string option ; fn : int option }