1 2 3 4 5 6 7 8 9 10 11
use crate::PathEffect; use skia_bindings as sb; pub fn new() -> PathEffect { PathEffect::from_ptr(unsafe { sb::C_SkStrokeAndFillePathEffect_Make() }).unwrap() } #[test] fn test_new() { let _effect = new(); }