pub type Shaper = RefHandle<SkShaper>;
Aliased Type§
struct Shaper(/* private fields */);
Implementations§
Source§impl Shaper
impl Shaper
pub fn new_primitive() -> Self
👎Deprecated since 0.74.0: use shapers::primitive::primitive_text()
pub fn new_shaper_driven_wrapper( fallback_font_mgr: impl Into<Option<FontMgr>>, ) -> Option<Self>
pub fn new_shape_then_wrap( fallback_font_mgr: impl Into<Option<FontMgr>>, ) -> Option<Self>
pub fn new_shape_dont_wrap_or_reorder( fallback_font_mgr: impl Into<Option<FontMgr>>, ) -> Option<Self>
👎Deprecated since 0.74.0: use shapers::hb::shape_dont_wrap_or_reorder()
pub fn purge_harf_buzz_cache()
pub fn new_core_text() -> Option<Self>
pub fn new(font_mgr: impl Into<Option<FontMgr>>) -> Self
pub fn purge_caches()
Source§impl Shaper
impl Shaper
pub fn new_font_mgr_run_iterator<'a>( utf8: &'a str, font: &Font, fallback: impl Into<Option<FontMgr>>, ) -> Borrows<'a, FontRunIterator>
pub fn new_trivial_font_run_iterator( font: &Font, utf8_bytes: usize, ) -> FontRunIterator
Source§impl Shaper
impl Shaper
pub fn new_bidi_run_iterator( utf8: &str, bidi_level: u8, ) -> Option<Borrows<'_, BiDiRunIterator>>
pub fn new_icu_bidi_run_iterator( utf8: &str, level: u8, ) -> Option<Borrows<'_, BiDiRunIterator>>
pub fn new_trivial_bidi_run_iterator( bidi_level: u8, utf8_bytes: usize, ) -> BiDiRunIterator
👎Deprecated since 0.74.0: use shapers::primitive::trivial_bidi_run_iterator()
Source§impl Shaper
impl Shaper
pub fn new_script_run_iterator( utf8: &str, script: FourByteTag, ) -> Borrows<'_, ScriptRunIterator>
pub fn new_hb_icu_script_run_iterator( utf8: &str, ) -> Borrows<'_, ScriptRunIterator>
pub fn new_trivial_script_run_iterator( bidi_level: u8, utf8_bytes: usize, ) -> ScriptRunIterator
👎Deprecated since 0.74.0: use shapers::primitive::trivial_script_run_iterator