pub struct BitmapScale {
pub hori: SbitLineMetrics,
pub vert: SbitLineMetrics,
pub ppem_x: u8,
pub ppem_y: u8,
pub substitute_ppem_x: u8,
pub substitute_ppem_y: u8,
}Expand description
One BitmapScale record (§5.6.4) — a single synthesised strike defined
as a scaled copy of an existing EBLC/EBDT strike.
Fields§
§hori: SbitLineMetricsFont-wide horizontal line metrics for the scaled strike.
vert: SbitLineMetricsFont-wide vertical line metrics for the scaled strike.
ppem_x: u8Target (synthesised) horizontal pixels-per-em.
ppem_y: u8Target (synthesised) vertical pixels-per-em.
substitute_ppem_x: u8Horizontal ppem of the real strike to scale from.
substitute_ppem_y: u8Vertical ppem of the real strike to scale from.
Trait Implementations§
Source§impl Clone for BitmapScale
impl Clone for BitmapScale
Source§fn clone(&self) -> BitmapScale
fn clone(&self) -> BitmapScale
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BitmapScale
Source§impl Debug for BitmapScale
impl Debug for BitmapScale
impl Eq for BitmapScale
Source§impl PartialEq for BitmapScale
impl PartialEq for BitmapScale
impl StructuralPartialEq for BitmapScale
Auto Trait Implementations§
impl Freeze for BitmapScale
impl RefUnwindSafe for BitmapScale
impl Send for BitmapScale
impl Sync for BitmapScale
impl Unpin for BitmapScale
impl UnsafeUnpin for BitmapScale
impl UnwindSafe for BitmapScale
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more