Browse Source

fix example

embedded-hal-1.0
Chris 7 years ago
parent
commit
b5dcbb0454
  1. 4
      examples/embedded_linux_epd4in2/src/main.rs

4
examples/embedded_linux_epd4in2/src/main.rs

@ -304,8 +304,8 @@ fn run() -> Result<(), std::io::Error> {
Font6x8::render_str("It's working-BoW!") Font6x8::render_str("It's working-BoW!")
// Using Style here // Using Style here
.with_style(Style { .with_style(Style {
fill_color: Some(Color::Black), fill_color: Some(Color::White),
stroke_color: Some(Color::White), stroke_color: Some(Color::Black),
stroke_width: 0u8, // Has no effect on fonts stroke_width: 0u8, // Has no effect on fonts
}) })
.translate(Coord::new(50, 200)) .translate(Coord::new(50, 200))

Loading…
Cancel
Save