#[repr(C)]pub struct msdfgen_Scanline {
pub intersections: [u64; 3],
pub lastIndex: c_int,
}Expand description
Represents a horizontal scanline intersecting a shape.
Fields§
§intersections: [u64; 3]§lastIndex: c_intImplementations§
Source§impl msdfgen_Scanline
impl msdfgen_Scanline
pub unsafe fn overlap( a: *const msdfgen_Scanline, b: *const msdfgen_Scanline, xFrom: f64, xTo: f64, fillRule: msdfgen_FillRule, ) -> f64
pub unsafe fn setIntersections(&mut self, intersections: *const [u64; 3])
pub unsafe fn setIntersections1(&mut self, intersections: *mut [u64; 3])
pub unsafe fn countIntersections(&self, x: f64) -> c_int
pub unsafe fn sumIntersections(&self, x: f64) -> c_int
pub unsafe fn filled(&self, x: f64, fillRule: msdfgen_FillRule) -> bool
pub unsafe fn new() -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for msdfgen_Scanline
impl RefUnwindSafe for msdfgen_Scanline
impl Send for msdfgen_Scanline
impl Sync for msdfgen_Scanline
impl Unpin for msdfgen_Scanline
impl UnwindSafe for msdfgen_Scanline
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