pub struct CellAa {
pub x: i32,
pub y: i32,
pub cover: i32,
pub area: i32,
}Expand description
A pixel cell storing accumulated coverage and area from edges.
Port of C++ cell_aa from agg_rasterizer_scanline_aa_nogamma.h.
cover: net winding contribution (sum of dy across this cell)area: twice the signed area of edge fragments within this cell, used to compute the partial-pixel coverage at cell boundaries
Fields§
§x: i32§y: i32§cover: i32§area: i32Implementations§
Trait Implementations§
impl Copy for CellAa
Auto Trait Implementations§
impl Freeze for CellAa
impl RefUnwindSafe for CellAa
impl Send for CellAa
impl Sync for CellAa
impl Unpin for CellAa
impl UnwindSafe for CellAa
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