From d4cc8c775d4c579aeac69ca2d212a604c67043b0 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 10 Oct 2021 20:26:58 +0200 Subject: Move paint and colors into `geom` --- src/export/pdf.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/export') 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. -- cgit v1.2.3