# Module LTerm_geom

    module LTerm_geom: sig .. end

Common types.

    type size = {

`` | `rows :`int`;`
`` | `cols :`int`;`

}
Type of sizes.

    val rows : size -> int

    val cols : size -> int

    val string_of_size : size -> string

Returns the string representation of the given size.

    type coord = {

`` | `row :`int`;`
`` | `col :`int`;`

}
Type of coordinates.

    val row : coord -> int

    val col : coord -> int

    val string_of_coord : coord -> string

Returns the string representation of the given coordinates.

    type rect = {

`` | `row1 :`int`;`
`` | `col1 :`int`;`
`` | `row2 :`int`;`
`` | `col2 :`int`;`

}
Type of rectangles.

    val row1 : rect -> int

    val col1 : rect -> int

    val row2 : rect -> int

    val row2 : rect -> int

    val size_of_rect : rect -> size

Returns the size of a rectangle.

    val string_of_rect : rect -> string

Returns the string representation of the given rectangle.

    type horz_alignment =

`|` | `H_align_left`
`|` | `H_align_center`
`|` | `H_align_right`

Horizontal alignment.

    type vert_alignment =

`|` | `V_align_top`
`|` | `V_align_center`
`|` | `V_align_bottom`

Vertical alignement.