pub struct RasterizerSlNoClip { /* private fields */ }Expand description
Scanline rasterizer policy that performs no clipping, just coordinate conversion (double → 24.8 fixed-point) and direct passthrough to the cell rasterizer.
Port of C++ rasterizer_sl_no_clip.
Implementations§
Source§impl RasterizerSlNoClip
impl RasterizerSlNoClip
pub fn new() -> Self
pub fn reset_clipping(&mut self)
pub fn clip_box(&mut self, _x1: i32, _y1: i32, _x2: i32, _y2: i32)
pub fn move_to(&mut self, x1: i32, y1: i32)
pub fn move_to_d(&mut self, x: f64, y: f64)
pub fn line_to(&mut self, ras: &mut RasterizerCellsAa, x2: i32, y2: i32)
pub fn line_to_d(&mut self, ras: &mut RasterizerCellsAa, x: f64, y: f64)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RasterizerSlNoClip
impl RefUnwindSafe for RasterizerSlNoClip
impl Send for RasterizerSlNoClip
impl Sync for RasterizerSlNoClip
impl Unpin for RasterizerSlNoClip
impl UnwindSafe for RasterizerSlNoClip
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