rocketsplash-rt 0.3.0

Runtime library for loading and rendering Rocketsplash assets (.rst, .rsf)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// <FILE>crates/rocketsplash-rt/src/font/render_options.rs</FILE>
// <DESC>Render options DTO shared by the font rendering pipeline</DESC>
// <VERS>VERSION: 1.0.0</VERS>
// <WCTX>Foundation crates 0.3.0 (RELEASE_PLAN F2 cycle-break)</WCTX>
// <CLOG>1.0.0: extracted from font/mod.rs so pipeline files depend on this leaf instead of the module root.</CLOG>

use crate::{Align, FallbackMode, TextStyle};

#[derive(Clone, Copy, Debug)]
pub(crate) struct RenderOptions {
    pub style: TextStyle,
    pub spacing: i8,
    pub align: Align,
    pub fallback: FallbackMode,
}

// <FILE>crates/rocketsplash-rt/src/font/render_options.rs</FILE>
// <VERS>END OF VERSION: 1.0.0</VERS>