#operating-system #lib #logo #no-std #draw #cipherdogs #cipher-dogs

no-std cipherdogs-logo-lib

Library CipherDogs logo for the operating system

1 unstable release

0.1.0 Jul 29, 2020

#57 in #logo

GPL-3.0 license

27KB

cipherdogs-logo-lib

crates.io docs.rs

Library CipherDogs logo for the operating system

cipherdogs

Usage

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:

Library CipherDogs logo for the operating system

cipherdogs

Usage

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);

Dependencies

~1.5MB
~22K SLoC