Skip to main content

MAX_TARGET_DIMENSION

Constant MAX_TARGET_DIMENSION 

Source
pub const MAX_TARGET_DIMENSION: u32 = _ /* 65_535u32 */;
Expand description

The largest render target either backend accepts in one axis.

vello_cpu’s RenderContext::new, Pixmap::new and Mask are all u16-dimensioned; tiny-skia is u32 but must agree for Tier C.