package ocgtk
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OCaml bindings for GTK 4
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gsk/Ocgtk_gsk/Gsk/Wrappers/Path_measure/index.html
Module Wrappers.Path_measure
type t = [ `path_measure ] Gobject.objval new_ : [ `path ] Gobject.obj -> tCreate a new PathMeasure
val new_with_tolerance : [ `path ] Gobject.obj -> float -> tCreate a new PathMeasure
val get_tolerance : t -> floatReturns the tolerance that the measure was created with.
val get_point : t -> float -> bool * [ `path_point ] Gobject.objSets @result to the point at the given distance into the path.
An empty path has no points, so `FALSE` is returned in that case.
val get_path : t -> [ `path ] Gobject.objReturns the path that the measure was created for.
val get_length : t -> floatGets the length of the path being measured.
The length is cached, so this function does not do any work.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>