[][src]Struct msdfgen_sys::msdfgen_Scanline

#[repr(C)]
pub struct msdfgen_Scanline {
    pub intersections: [u64; 3],
    pub lastIndex: c_int,
}

Represents a horizontal scanline intersecting a shape.

Fields

intersections: [u64; 3]lastIndex: c_int

Methods

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]

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

impl Debug for msdfgen_Scanline[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.