[][src]Function console_engine::pixel::pxl_fbg

pub fn pxl_fbg<C1: Color, C2: Color>(value: char, fg: C1, bg: C2) -> Pixel

Generate a pixel using a character, a foreground and background color

usage:

use console_engine::pixel;
use console_engine::termion::color;
// ...
engine.set_pxl(0,0,pixel::pxl_fbg('X', color::Blue, color::White));