kas-core 0.17.0

KAS GUI / core
Documentation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License in the LICENSE-APACHE file or at:
//     https://www.apache.org/licenses/LICENSE-2.0

//! Text functionality
//!
//! Most of this module is simply a re-export of the [KAS Text] API, hence the
//! lower level of integration than other parts of the library.
//!
//! See also [`crate::theme::Text`] which provides better integration with KAS
//! theming and widget sizing operations.
//!
//! [KAS Text]: https://github.com/kas-gui/kas-text/

pub use kas_text::{
    Align, DPU, Direction, Effect, EffectFlags, Line, MarkerPos, MarkerPosIter, NotReady,
    OwningVecIter, Status, TextDisplay, Vec2, fonts, format,
};

/// Glyph rastering
#[cfg_attr(not(feature = "internal_doc"), doc(hidden))]
#[cfg_attr(docsrs, doc(cfg(internal_doc)))]
pub mod raster;

mod selection;
pub use selection::{CursorRange, SelectionHelper};

mod string;
pub use string::AccessString;