From 4ff373f512bf885b7cab4fdf36f9b2731fa4fc08 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 18 Oct 2018 22:06:47 +0200 Subject: [PATCH] add different style to rotate90 in example --- examples/embedded_linux_epd4in2/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/embedded_linux_epd4in2/src/main.rs b/examples/embedded_linux_epd4in2/src/main.rs index b825f3c..158d141 100644 --- a/examples/embedded_linux_epd4in2/src/main.rs +++ b/examples/embedded_linux_epd4in2/src/main.rs @@ -222,6 +222,8 @@ fn run() -> Result<(), std::io::Error> { display.set_rotation(DisplayRotation::Rotate90); display.draw( Font6x8::render_str("Rotate 90!") + .with_stroke(Some(Color::Black)) + .with_fill(Some(Color::White)) .translate(Coord::new(5, 50)) .into_iter(), );