#include <xtd/xtd>
namespace draw_rounded_rectangle_example {
class form1 :
public form {
public:
form1() {
text(
"Draw rounded rectangle example");
client_size({340, 230});
}
protected:
form::on_paint(e);
custom_pen.dash_pattern({4, 1, 3, 2});
}
};
}
auto main()->int {
application::run(draw_rounded_rectangle_example::form1 {});
}