#[repr(C)]pub struct msdfgen_Contour {
pub edges: [u64; 3],
}Expand description
A single closed contour of a shape.
Fields§
§edges: [u64; 3]The sequence of edges that make up the contour.
Implementations§
Source§impl msdfgen_Contour
impl msdfgen_Contour
pub unsafe fn addEdge(&mut self, edge: *const msdfgen_EdgeHolder)
pub unsafe fn addEdge1(&mut self) -> *mut msdfgen_EdgeHolder
pub unsafe fn bound(&self, l: *mut f64, b: *mut f64, r: *mut f64, t: *mut f64)
pub unsafe fn boundMiters( &self, l: *mut f64, b: *mut f64, r: *mut f64, t: *mut f64, border: f64, miterLimit: f64, polarity: c_int, )
pub unsafe fn winding(&self) -> c_int
pub unsafe fn reverse(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for msdfgen_Contour
impl RefUnwindSafe for msdfgen_Contour
impl Send for msdfgen_Contour
impl Sync for msdfgen_Contour
impl Unpin for msdfgen_Contour
impl UnwindSafe for msdfgen_Contour
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more