[−][src]Struct msdfgen_sys::msdfgen_Scanline
Represents a horizontal scanline intersecting a shape.
Fields
intersections: [u64; 3]lastIndex: c_intMethods
impl msdfgen_Scanline[src]
pub unsafe fn overlap(
a: *const msdfgen_Scanline,
b: *const msdfgen_Scanline,
xFrom: f64,
xTo: f64,
fillRule: msdfgen_FillRule
) -> f64[src]
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])[src]
pub unsafe fn setIntersections1(&mut self, intersections: *mut [u64; 3])[src]
pub unsafe fn countIntersections(&self, x: f64) -> c_int[src]
pub unsafe fn sumIntersections(&self, x: f64) -> c_int[src]
pub unsafe fn filled(&self, x: f64, fillRule: msdfgen_FillRule) -> bool[src]
pub unsafe fn new() -> Self[src]
Trait Implementations
Auto Trait Implementations
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
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,