package xcursor
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Cursor file modules.
Contains functions used for cursor files which contain the images and metadata for cursors.
module Card32 : sig ... end
module Header : sig ... end
module Image : sig ... end
Cursor file with parsed header.
val of_bigstring : Bigstringaf.t -> (t, string) result
Get a cursor from parsing a bigstring.
val of_descr : ?pos:int -> ?size:int -> Unix.file_descr -> (t, string) result
Get a cursor from parsing a memory-mapped a Unix file descriptor.
The file descriptor must have at least read permissions.
val toc_len : t -> int
The number of entries in the table of contents.
Return a lazy sequence of image indices in the table of contents.
If size is specified, filter by the notional size (i.e. the subtype) of the index.
Cursor.Image.t.pixels
is the offset from the start of t.data
.
val images : ?size:int -> t -> (Bigstringaf.t Image.t, string) result Seq.t
Return a lazy sequence of images in the cursor.
See image_indices
for more information.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>