Skip to main content

text_key

Function text_key 

Source
pub fn text_key(text: &TextAt<'_>, style: &TextStyle, size: PictureSize) -> u64
Expand description

A text’s identity at a render size: the text, its runs’ styles and sampled scales, its style and the size, hashed with FNV-1a. A text without run styles keys as its plain string. Never zero.