From 463e4ebd8234da5e28700e9b22b6ef5f0dfef56f Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 13 Oct 2019 12:08:07 +0200 Subject: =?UTF-8?q?Refactor=20layout=20types=20=F0=9F=9A=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/doc.rs | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/doc.rs (limited to 'src/doc.rs') diff --git a/src/doc.rs b/src/doc.rs deleted file mode 100644 index 9a287913..00000000 --- a/src/doc.rs +++ /dev/null @@ -1,23 +0,0 @@ -//! Representation of typesetted documents. - -use crate::layout::LayoutAction; -use crate::size::Size; - - -/// A complete typesetted document, which can be exported. -#[derive(Debug, Clone)] -pub struct Document { - /// The pages of the document. - pub pages: Vec, -} - -/// A page of a document. -#[derive(Debug, Clone)] -pub struct Page { - /// The width of the page. - pub width: Size, - /// The height of the page. - pub height: Size, - /// Layouting actions specifying how to draw content on the page. - pub actions: Vec, -} -- cgit v1.2.3