Skip to content

image and svg support for canvas#2537

Merged
hecrj merged 13 commits into
masterfrom
feature/canvas-image-support
Aug 4, 2024
Merged

image and svg support for canvas#2537
hecrj merged 13 commits into
masterfrom
feature/canvas-image-support

Conversation

@hecrj

@hecrj hecrj commented Aug 4, 2024

Copy link
Copy Markdown
Member

This PR introduces image and svg support for the canvas widget.

Raster images can be drawn with the Frame::draw_image method, while vector images can be drawn with the Frame::draw_svg method. These new methods take a canvas::Image and a canvas::Svg, respectively.

The solar_system example has been updated to showcase this new feature:

2024-08-04.04-57-09.mp4

@hecrj hecrj added this to the 0.13 milestone Aug 4, 2024
@hecrj hecrj merged commit 145c3dc into master Aug 4, 2024
@hecrj hecrj deleted the feature/canvas-image-support branch August 4, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant