pub fn ncplane_putstr_aligned(
plane: &mut NcPlane,
y: Option<u32>,
align: impl Into<NcAlign_u32>,
string: &str,
) -> NcResult_i32Expand description
Writes a string to the provided location, using the current style
and NcAlign_u32ed on x.
Advances the cursor by some positive number of columns (though not beyond the end of the plane); this number is returned on success.
On error, a non-positive number is returned, indicating the number of columns which were written before the error.
If a glyph can not fit in the current line, it is an error, unless scrolling is enabled.
Method: NcPlane.putstr_aligned().