Skip to main content

canvas_clip

Function canvas_clip 

Source
pub fn canvas_clip(x: f32, y: f32, w: f32, h: f32)
Expand description

Intersect the current clipping region with an axis-aligned rectangle. Coordinates are in the current (possibly transformed) canvas space.