#操作系统 #logo #no-std #lib #draw #cipherdogs #cipher-dogs

无std cipherdogs-logo-lib

操作系统CipherDogs logo库

1 个不稳定发布

0.1.0 2020年7月29日

#60 in #logo

GPL-3.0 许可证

27KB

cipherdogs-logo-lib

crates.io docs.rs

操作系统CipherDogs logo库

cipherdogs

用法

use vga::colors::Color16;
use vga::writers::{Graphics640x480x16, GraphicsWriter};
use vga_figures::figures2d::Figures2D;

use cipherdogs_logo_lib;

let mode = Graphics640x480x16::new();
mode.set_mode();
mode.clear_screen(Color16::Black);

let figures = Figures2D::new(mode);

cipherdogs_logo_lib::draw(figures, Color16::White);

lib.rs:

操作系统CipherDogs logo库

cipherdogs

用法

use vga::colors::Color16;
use vga::writers::{Graphics640x480x16, GraphicsWriter};
use vga_figures::figures2d::Figures2D;

use cipherdogs_logo_lib;

let mode = Graphics640x480x16::new();
mode.set_mode();
mode.clear_screen(Color16::Black);

let figures = Figures2D::new(mode);

cipherdogs_logo_lib::draw(figures, Color16::White);

依赖项

~1.5MB
~22K SLoC