Add a lower line of tracery

This commit is contained in:
Savanni D'Gerinel 2024-10-08 22:27:27 -04:00
parent fc70bb3955
commit f226a83cf6
1 changed files with 13 additions and 1 deletions

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