package camlimages
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Image processing library
Install
dune-project
Dependency
Authors
Maintainers
Sources
camlimages-5.0.5.tar.gz
md5=84929b30257aa8e493dc84303768f400
sha512=b3774d2287e4a97082f0289766f5a79d3e75454a194d2d6400cee9cf926f7676d8eba4cb27221a98314461b7a81b4386b253f1d706a94447423394be89d2ed49
doc/camlimages.freetype/Freetype/index.html
Module FreetypeSource
type for Freetype library
init () initializes the Freetype library. The returned library is required to load fonts.
Type for face
Source
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;
}new_face library fontfile n loads n-th font stored in the font file fontfile, and returns its face and face information.
Returns number of glyphs stored in the face. Equivalent to face_info.num_glyphs
set_char_size face charw charh resh resv sets the character size of face. charw and charh are the points of the characters in width and height. resh and resv are the horizontal and vertical resolution (in dpi)
set_pixel_sizes face pixw pixh also sets the character size of face. pixw and pixh are standard width and height of characters in pixels.
matrix and vector
bitmap ops
glyph metrics
Source
type glyph_metrics = {gm_width : float;gm_height : float;gm_hori : bearing_advance;gm_vert : bearing_advance;
}size metrics
outline info
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>