package camlimages
Image processing library
Install
Dune Dependency
Authors
Maintainers
Sources
camlimages-5.0.4.tar.bz2
sha256=1c9a68bdc3d348c9f859d490dadf384926213e47a584159832f7fc4a20242865
md5=1ddba74d210b86a899b5d6565f45c2dc
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)"
>