diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-10-10 20:26:58 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-10-10 20:26:58 +0200 |
| commit | d4cc8c775d4c579aeac69ca2d212a604c67043b0 (patch) | |
| tree | 90c6bd20a3a0a4a1e471385a536c1333a4b05c99 /src/export | |
| parent | f4ed775df073ceeff292810f19ca8d01b054eff1 (diff) | |
Move paint and colors into `geom`
Diffstat (limited to 'src/export')
| -rw-r--r-- | src/export/pdf.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/export/pdf.rs b/src/export/pdf.rs index 3abda916..1ac8149d 100644 --- a/src/export/pdf.rs +++ b/src/export/pdf.rs @@ -13,11 +13,10 @@ use pdf_writer::{Content, Filter, Finish, Name, PdfWriter, Rect, Ref, Str, Unico use ttf_parser::{name_id, GlyphId, Tag}; use super::subset; -use crate::color::Color; use crate::font::{find_name, FaceId, FontStore}; -use crate::geom::{self, Em, Length, Size}; +use crate::geom::{self, Color, Em, Length, Paint, Size}; use crate::image::{Image, ImageId, ImageStore}; -use crate::layout::{Element, Frame, Geometry, Paint}; +use crate::layout::{Element, Frame, Geometry}; use crate::Context; /// Export a collection of frames into a PDF document. |
