@ -162,6 +162,8 @@ impl Notcurses {
/// Returns true if we can reliably use Unicode Braille.
/// Returns true if we can reliably use Unicode Braille.
///
///
/// See also [NCBLIT_BRAILLE][crate::NCBLIT_BRAILLE].
///
/// *C style function: [notcurses_canbraille()][crate::notcurses_canbraille].*
/// *C style function: [notcurses_canbraille()][crate::notcurses_canbraille].*
pub fn canbraille ( & self ) -> bool {
pub fn canbraille ( & self ) -> bool {
unsafe { crate ::notcurses_canbraille ( self ) }
unsafe { crate ::notcurses_canbraille ( self ) }
@ -185,6 +187,15 @@ impl Notcurses {
unsafe { crate ::notcurses_canfade ( self ) }
unsafe { crate ::notcurses_canfade ( self ) }
}
}
/// Returns true if we can reliably use Unicode half blocks.
///
/// See also [NCBLIT_2x1][crate::NCBLIT_2x1].
///
/// *C style function: [notcurses_canhalfblock()][crate::notcurses_canhalfblock].*
pub fn canhalfblock ( & self ) -> bool {
unsafe { crate ::notcurses_canhalfblock ( self ) }
}
/// Returns true if loading images is possible.
/// Returns true if loading images is possible.
///
///
/// This requires being built against FFmpeg/OIIO.
/// This requires being built against FFmpeg/OIIO.
@ -203,8 +214,19 @@ impl Notcurses {
unsafe { crate ::notcurses_canopen_videos ( self ) }
unsafe { crate ::notcurses_canopen_videos ( self ) }
}
}
/// Returns true if we can reliably use Unicode quadrant blocks.
///
/// See also [NCBLIT_2x2][crate::NCBLIT_2x2].
///
/// *C style function: [notcurses_canquadrant()][crate::notcurses_canquadrant].*
pub fn canquadrant ( & self ) -> bool {
unsafe { crate ::notcurses_canquadrant ( self ) }
}
/// Returns true if we can reliably use Unicode 13 sextants.
/// Returns true if we can reliably use Unicode 13 sextants.
///
///
/// See also [NCBLIT_3x2][crate::NCBLIT_3x2].
///
/// *C style function: [notcurses_cansextant()][crate::notcurses_cansextant].*
/// *C style function: [notcurses_cansextant()][crate::notcurses_cansextant].*
pub fn cansextant ( & self ) -> bool {
pub fn cansextant ( & self ) -> bool {
unsafe { crate ::notcurses_cansextant ( self ) }
unsafe { crate ::notcurses_cansextant ( self ) }
@ -231,7 +253,8 @@ impl Notcurses {
///
///
/// Returns `false` for no support, or `true` if pixel output is supported.
/// Returns `false` for no support, or `true` if pixel output is supported.
///
///
/// This function must successfully return before NCBLIT_PIXEL is available.
/// This function must successfully return before
/// [NCBLIT_PIXEL][crate::NCBLIT_PIXEL] is available.
///
///
/// Must not be called concurrently with either input or rasterization.
/// Must not be called concurrently with either input or rasterization.
///
///