pub trait IKerningTableMethods: IKerningTable {
// Provided methods
fn ctor(self) { ... }
fn add_kerning_pair(self) { ... }
fn add_kerning_pair_2(
self,
first: impl Into<u32>,
second: impl Into<u32>,
offset: impl Into<f32>,
) -> i32 { ... }
fn add_glyph_pair_adjustment_record(
self,
first: impl Into<u32>,
first_adjustments: impl Into<GlyphValueRecord_Legacy>,
second: impl Into<u32>,
second_adjustments: impl Into<GlyphValueRecord_Legacy>,
) -> i32 { ... }
fn remove_kerning_pair(self, left: impl Into<i32>, right: impl Into<i32>) { ... }
fn remove_kerning_pair_2(self, index: impl Into<i32>) { ... }
fn sort_kerning_pairs(self) { ... }
}Provided Methods§
Sourcefn add_kerning_pair(self)
fn add_kerning_pair(self)
AddKerningPair() overload
Sourcefn add_kerning_pair_2(
self,
first: impl Into<u32>,
second: impl Into<u32>,
offset: impl Into<f32>,
) -> i32
fn add_kerning_pair_2( self, first: impl Into<u32>, second: impl Into<u32>, offset: impl Into<f32>, ) -> i32
AddKerningPair(u32, u32, f32) overload
Sourcefn add_glyph_pair_adjustment_record(
self,
first: impl Into<u32>,
first_adjustments: impl Into<GlyphValueRecord_Legacy>,
second: impl Into<u32>,
second_adjustments: impl Into<GlyphValueRecord_Legacy>,
) -> i32
fn add_glyph_pair_adjustment_record( self, first: impl Into<u32>, first_adjustments: impl Into<GlyphValueRecord_Legacy>, second: impl Into<u32>, second_adjustments: impl Into<GlyphValueRecord_Legacy>, ) -> i32
AddGlyphPairAdjustmentRecord(u32, crate::tm_pro::glyphvaluerecord_legacy::GlyphValueRecord_Legacy, u32, crate::tm_pro::glyphvaluerecord_legacy::GlyphValueRecord_Legacy) overload
Sourcefn remove_kerning_pair(self, left: impl Into<i32>, right: impl Into<i32>)
fn remove_kerning_pair(self, left: impl Into<i32>, right: impl Into<i32>)
RemoveKerningPair(i32, i32) overload
Sourcefn remove_kerning_pair_2(self, index: impl Into<i32>)
fn remove_kerning_pair_2(self, index: impl Into<i32>)
RemoveKerningPair(i32) overload
Sourcefn sort_kerning_pairs(self)
fn sort_kerning_pairs(self)
SortKerningPairs() overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IKerningTable> IKerningTableMethods for __T
Available on crate feature
tm_pro-kerningtable only.