Copyright | (c) Alastair Reid, 1999-2003 |
---|---|

License | BSD-style (see the file libraries/base/LICENSE) |

Maintainer | libraries@haskell.org |

Stability | provisional |

Portability | non-portable (requires concurrency) |

Safe Haskell | None |

Language | Haskell98 |

Drawing various shapes.

# Documentation

:: Point | a corner of the rectangle bounding the ellipse. |

-> Point | the opposite corner of the rectangle bounding the ellipse. |

-> Angle | the start angle of the arc, measured counter-clockwise from the horizontal. |

-> Angle | the extent of the arc, measured counter-clockwise from the start angle. |

-> Graphic | a filled shape |

A filled arc from an ellipse.

:: Point | a corner of the rectangle bounding the ellipse. |

-> Point | the opposite corner of the rectangle bounding the ellipse. |

-> Graphic | a filled shape |

A filled ellipse that fits inside a rectangle defined by two
`Point`

s on the window.

:: Point | a corner of the bounding parallelogram. |

-> Point | another corner of the parallelogram, adjacent to the first. |

-> Point | another corner of the parallelogram, adjacent to the first and thus opposite to the second. |

-> Graphic | a filled shape |

A filled sheared ellipse that fits inside a parallelogram defined
by three `Point`

s on the window. This function is implemented using
polygons on both Win32 and X11.