Crates.io | cipherdogs-logo-lib |
lib.rs | cipherdogs-logo-lib |
version | 0.1.0 |
source | src |
created_at | 2020-07-29 06:59:47.97712 |
updated_at | 2020-07-29 06:59:47.97712 |
description | Library CipherDogs logo for the operating system |
homepage | https://github.com/CipherDogs/cipherdogs-logo-lib |
repository | https://github.com/CipherDogs/cipherdogs-logo-lib |
max_upload_size | |
id | 270841 |
size | 50,574 |
Library CipherDogs logo for the operating system
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);