gsk4/path_builder.rs
// Take a look at the license at the top of the repository in the LICENSE file.
use glib::translate::*;
use crate::PathBuilder;
impl PathBuilder {
/// Adds a Cairo path to the builder.
///
/// You can use cairo_copy_path() to access the path
/// from a Cairo context.
/// ## `path`
/// a path
#[doc(alias = "gsk_path_builder_add_cairo_path")]
pub fn add_cairo_path(&self, path: &cairo::Path) {
unsafe {
crate::ffi::gsk_path_builder_add_cairo_path(self.to_glib_none().0, path.as_ptr());
}
}
}