Drawing examples
March 9, 2025 ยท View on GitHub
This folder contains drawing examples.
- draw_ellipse shows how to draw ellipse in paint event.
- draw_image shows how to draw image in paint event.
- draw_line shows how to draw line in paint event.
- draw_point shows how to draw point in paint event.
- draw_rectangle shows how to draw rectangle in paint event.
- draw_rounded_rectangle shows how to draw rounded rectangle in paint event.
- fill_ellipse shows how to fill ellipse in paint event.
- fill_rectangle shows how to fill rectangle in paint event.
- fill_rounded_rectangle shows how to fill rounded rectangle in paint event.
- image_effects shows how to use xtd::drawing::graphics::imaging::image_effector class.
- screenshot shows how to fill ellipse in paint event using xtd::drawing::graphics::copy_from_screen.
Build and run any project
Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:
xtdc run -t any_project_name