Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Shouldn't Context mutably borrow the target surface? #192

Closed
YaLTeR opened this issue Jun 14, 2018 · 3 comments
Closed

Shouldn't Context mutably borrow the target surface? #192

YaLTeR opened this issue Jun 14, 2018 · 3 comments

Comments

@YaLTeR
Copy link

YaLTeR commented Jun 14, 2018

Since the target surface contents are modified via the context.

@SimonSapin
Copy link
Contributor

Modifications happen (effectively) through interior mutability. https://github.com/gtk-rs/cairo/issues/256 explains some more.

@sdroege
Copy link
Member

sdroege commented May 14, 2019

@GuillaumeGomez Can you close this?

@GuillaumeGomez
Copy link
Member

Sure!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants