Module Type_description.Types

Parameters

module T : Ctypes.TYPE

Signature

type location

Location.

val location : location Ctypes.structure T.typ
val location_chapter : (int, location Ctypes.structure) T.field
val location_page : (int, location Ctypes.structure) T.field
type rect

Rectangle.

val rect : rect Ctypes.structure T.typ
val rect_x0 : (float, rect Ctypes.structure) T.field
val rect_y0 : (float, rect Ctypes.structure) T.field
val rect_x1 : (float, rect Ctypes.structure) T.field
val rect_y1 : (float, rect Ctypes.structure) T.field
type matrix

Matrix.

val matrix : matrix Ctypes.structure T.typ
val matrix_a : (float, matrix Ctypes.structure) T.field
val matrix_b : (float, matrix Ctypes.structure) T.field
val matrix_c : (float, matrix Ctypes.structure) T.field
val matrix_d : (float, matrix Ctypes.structure) T.field
val matrix_e : (float, matrix Ctypes.structure) T.field
val matrix_f : (float, matrix Ctypes.structure) T.field
type point

Point.

val point : point Ctypes.structure T.typ
val point_x : (float, point Ctypes.structure) T.field
val point_y : (float, point Ctypes.structure) T.field
type quad

Quad (quadrilateral with upper-left, upper-right, lower-left, lower-right corners). The significant difference with rects is that the edges of quads are not axis aligned.

val quad : quad Ctypes.structure T.typ
val quad_ul : (point Ctypes.structure, quad Ctypes.structure) T.field
val quad_ur : (point Ctypes.structure, quad Ctypes.structure) T.field
val quad_ll : (point Ctypes.structure, quad Ctypes.structure) T.field
val quad_lr : (point Ctypes.structure, quad Ctypes.structure) T.field