simple icon indicating copy to clipboard operation
simple copied to clipboard

Drawing a rectangle code in the documentation

Open kabwoyke opened this issue 7 months ago • 0 comments

this part app.draw_rect(simple::Rect{ x: 100, y: 110, w: 120, h: 130, });

does not work , after playing around with the code i discovered you have to use the associated function new for it to compile

app.draw_rect(simple::Rect::new(110, 210, 900, 400));

kabwoyke avatar May 03 '26 06:05 kabwoyke