package camlimages
Image processing library
Install
Dune Dependency
Authors
Maintainers
Sources
camlimages-5.0.1.tar.bz2
sha256=fea0bbb53746a29fb546946d34d43ed0907db8326ff95004a11f7ea666f8d541
md5=c06eec6b0e12a993d4677203e733512a
doc/camlimages.freetype/Ftlow/index.html
Module Ftlow
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)"
>