1 | /*! |
2 | The drawing utils for Plotters. In Plotters, we have two set of drawing APIs: low-level API and |
3 | high-level API. |
4 | |
5 | The low-level drawing abstraction, the module defines the `DrawingBackend` trait from the `plotters-backend` create. |
6 | It exposes a set of functions which allows basic shape, such as pixels, lines, rectangles, circles, to be drawn on the screen. |
7 | The low-level API uses the pixel based coordinate. |
8 | |
9 | The high-level API is built on the top of high-level API. The `DrawingArea` type exposes the high-level drawing API to the remianing part |
10 | of Plotters. The basic drawing blocks are composable elements, which can be defined in logic coordinate. To learn more details |
11 | about the [coordinate abstraction](../coord/index.html) and [element system](../element/index.html). |
12 | */ |
13 | mod area; |
14 | mod backend_impl; |
15 | |
16 | pub use area::{DrawingArea, DrawingAreaErrorKind, IntoDrawingArea, Rect}; |
17 | |
18 | pub use backend_impl::*; |
19 | |