gsk4/
path_builder.rs

1// Take a look at the license at the top of the repository in the LICENSE file.
2
3use glib::translate::*;
4
5use crate::PathBuilder;
6
7impl PathBuilder {
8    #[doc(alias = "gsk_path_builder_add_cairo_path")]
9    pub fn add_cairo_path(&self, path: &cairo::Path) {
10        unsafe {
11            crate::ffi::gsk_path_builder_add_cairo_path(self.to_glib_none().0, path.as_ptr());
12        }
13    }
14}