Function lux::font::save_atlas
[−]
[src]
pub fn save_atlas<P1, P2>(rendered: RenderedFont<DynamicImage>, format: ImageFormat, image: P1, metadata: P2) -> Result<(), EncodingError> where P2: AsRef<Path>, P1: AsRef<Path>Saves an atlas to two paths. One for the image (using the specified image format), one for the font metadata.