To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Almost all of the functions are just interpretation of functions of the freetype library. See the documents of the freetype library.
val init : unit -> library
val close : library -> unit
type face_info = {
num_faces : int;
num_glyphs : int;
family_name : string;
style_name : string;
has_horizontal : bool;
has_vertical : bool;
has_kerning : bool;
is_scalable : bool;
is_sfnt : bool;
is_fixed_width : bool;
has_fixed_sizes : bool;
has_fast_glyphs : bool;
has_glyph_names : bool;
has_multiple_masters : bool;
}
val done_face : face -> unit
val get_num_glyphs : face -> int
val set_char_size : face -> int -> int -> int -> int -> unit
val set_pixel_sizes : face -> int -> int -> unit
val get_char_index : face -> int -> int
val render_glyph_of_face : face -> render_mode -> unit
val render_glyph : face -> int -> load_flag list -> render_mode -> int * int
val render_char : face -> int -> load_flag list -> render_mode -> int * int
val set_transform : face -> (int * int * int * int) -> (int * int) -> unit
val get_bitmap_info : face -> bitmap_info
val read_bitmap : face -> int -> int -> int
glyph metrics
type glyph_metrics = {
gm_width : int;
(*26.6
*)gm_height : int;
(*26.6
*)gm_hori : bearing_advance;
gm_vert : bearing_advance;
}
val get_glyph_metrics : face -> glyph_metrics
size metrics
val get_size_metrics : face -> size_metrics
val get_outline_contents : face -> outline_contents
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>