Create a slideshow application in my cyberpunk style #252

Open
savanni wants to merge 10 commits from cybperpunk-billboard into main
1 changed files with 13 additions and 1 deletions
Showing only changes of commit f226a83cf6 - Show all commits

View File

@ -277,7 +277,7 @@ impl CyberScreen {
} }
pen.stroke(); pen.stroke();
*/ */
let line = AsymLineCutout { AsymLineCutout {
orientation: gtk::Orientation::Horizontal, orientation: gtk::Orientation::Horizontal,
start_x: 25., start_x: 25.,
start_y: height as f64 / 7., start_y: height as f64 / 7.,
@ -288,6 +288,18 @@ impl CyberScreen {
invert: false, invert: false,
}.draw(&pen); }.draw(&pen);
pen.stroke(); pen.stroke();
AsymLine {
orientation: gtk::Orientation::Horizontal,
start_x: width as f64 / 4.,
start_y: height as f64 * 6. / 7.,
start_length: width as f64 * 2. / 3. - 25.,
height: 50.,
end_length: 0.,
invert: false,
}.draw(&pen);
pen.stroke();
let tracery = pen.finish(); let tracery = pen.finish();
let _ = context.set_source(tracery); let _ = context.set_source(tracery);
let _ = context.paint(); let _ = context.paint();