Skip to content

Commit

Permalink
Remove examples (#17)
Browse files Browse the repository at this point in the history
* Remove examples

* Update justfile
  • Loading branch information
rfuest authored Jan 27, 2021
1 parent 17a1010 commit 8339449
Show file tree
Hide file tree
Showing 37 changed files with 4 additions and 1,701 deletions.
Binary file removed assets/chessboard-4px-color-16bit.bmp
Binary file not shown.
Binary file removed assets/patch.png
Binary file not shown.
Binary file removed assets/patch.tga
Binary file not shown.
File renamed without changes.
Binary file removed assets/tiles.tga
Binary file not shown.
Binary file modified doc/assets/draw_a_sector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/assets/draw_a_triangle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/assets/draw_an_arc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions doc/drawing-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,11 @@ use embedded_graphics::{
},
pixelcolor::Rgb888,
prelude::*,
style::TextStyle,
style::MonoTextStyle,
};

Text::new("Hello,\nRust!", Point::new(2, 28))
.into_styled(TextStyle::new(Font6x8, Rgb888::GREEN))
.into_styled(MonoTextStyle::new(Font6x8, Rgb888::GREEN))
.draw(&mut display)?;
```

Expand All @@ -258,7 +258,7 @@ use tinytga::Tga;

let tga: Tga<Rgb888> = Tga::from_slice(include_bytes!(concat!(
env!("CARGO_MANIFEST_DIR"),
"/examples/assets/rust-pride.tga"
"/assets/rust-pride.tga"
)))
.unwrap();

Expand Down
214 changes: 0 additions & 214 deletions examples/analog-clock.rs

This file was deleted.

Binary file removed examples/assets/pipes.tga
Binary file not shown.
Binary file removed examples/assets/rust-pride.bmp
Binary file not shown.
Binary file removed examples/assets/seven-segment-font.png
Binary file not shown.
Binary file removed examples/assets/seven-segment-font.raw
Binary file not shown.
69 changes: 0 additions & 69 deletions examples/hello-world.rs

This file was deleted.

35 changes: 0 additions & 35 deletions examples/image-bmp.rs

This file was deleted.

Loading

0 comments on commit 8339449

Please sign in to comment.