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.graphene/Ocgtk_graphene/Graphene/Wrappers/Quad/index.html
Module Wrappers.Quad
type t = [ `quad ] Gobject.objA 4 vertex quadrilateral, as represented by four #graphene_point_t.
The contents of a #graphene_quad_t are private and should never be accessed directly.
val alloc : unit -> tCreate a new Quad
val init_from_rect : t -> [ `rect ] Gobject.obj -> tInitializes a #graphene_quad_t using the four corners of the given #graphene_rect_t.
val init_from_points : t -> [ `point ] Gobject.obj array -> tInitializes a #graphene_quad_t using an array of points.
val init :
t ->
[ `point ] Gobject.obj ->
[ `point ] Gobject.obj ->
[ `point ] Gobject.obj ->
[ `point ] Gobject.obj ->
tInitializes a #graphene_quad_t with the given points.
val get_point : t -> int -> [ `point ] Gobject.objRetrieves the point of a #graphene_quad_t at the given index.
val contains : t -> [ `point ] Gobject.obj -> boolChecks if the given #graphene_quad_t contains the given #graphene_point_t.
val bounds : t -> [ `rect ] Gobject.objComputes the bounding rectangle of @q and places it into @r.
val get_type : unit -> Gobject.Type.t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>