-
-
Notifications
You must be signed in to change notification settings - Fork 20
Conversation
@@ -113,6 +113,12 @@ impl Window { | |||
attributes.get_mask() as c_int)) | |||
} | |||
} | |||
|
|||
pub fn create_similar_surface(&self, content: cairo::Content, width: i32, height: i32) -> Option<Surface> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
&cairo::Content ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, it enum.
Maybe add |
|
From errors: |
Both fixed. So I didn't add |
Lost |
The function doesn't require it: https://developer.gnome.org/gdk3/stable/gdk3-Cairo-Interaction.html#gdk-cairo-region-create-from-surface |
Then need |
Oups, done! |
LGFM |
k |
cc @EPashkin