use omage::colors::*; use omage::{Components, Config, Image}; const HEIGHT: u32 = 1080; const WIDTH: u32 = 1920; fn main() -> Result<(), Box> { let config = Config::new(WIDTH, HEIGHT, WHITE, Some(BLACK), "output.png", None); let mut image = Image::new(); let circle = Components::Circle(config.width / 2, config.height / 2, 300, RED); image.config(config).init()?.add_component(&circle).draw()?; Ok(()) }