Add a lower line of tracery
This commit is contained in:
parent
fc70bb3955
commit
f226a83cf6
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue