Function lux::font::write_atlas
[−]
[src]
pub fn write_atlas<W1, W2>(rendered: RenderedFont<DynamicImage>, format: ImageFormat, image: &mut W1, metadata: &mut W2) -> Result<(), EncodingError> where W1: Write, W2: WriteSaves an atlas to two Writers. One for the image (using the specified image format), one for the font metadata.