The `module Geometry`

exports basic geometric types and
functionality.

- newtype Distance = Distance Int
- type Size = (Distance, Distance)
- type Coord = [Position]
- type Position = (Distance, Distance)
- type Geometry = (Distance, Distance, Distance, Distance)
- cm :: Double -> Distance
- pp :: Double -> Distance
- mm :: Double -> Distance
- ic :: Double -> Distance
- tocm :: Distance -> Double
- toinch :: Distance -> Double

# Documentation

The `Distance`

datatype - general representation of
distances in HTk.

Enum Distance | Internal. |

Eq Distance | |

Integral Distance | Internal. |

Num Distance | Internal. |

Ord Distance | |

Read Distance | Internal. |

Real Distance | Internal. |

Show Distance | Internal. |

GUIValue Distance | Internal. |

HasIndex Editor i BaseIndex => HasIndex Editor i (Distance, Distance) | Internal. |

HasInsertionCursorIndexGet Editor (Distance, Distance) | You can get the position of the insertion cursor of an editor widget. |

HasSelectionBaseIndexRange Editor (Distance, Distance) | You can select a text range inside an editor widget. |

HasSelectionBaseIndex Editor ((Distance, Distance), (Distance, Distance)) | You can select a text range inside an editor widget. |

HasIndex Editor (Distance, Distance) BaseIndex | A pair of line and character is a valid index for an editor widget. |

GUIValue [(Distance, Distance)] | Internal. |

GUIValue [Distance] | Internal. |

GUIValue (Distance, Distance) | Internal. |

GUIValue (Distance, Distance, Distance, Distance) | Internal. |