pub struct Type3Glyph<'a> { /* private fields */ }Expand description
A type3 glyph.
Implementations§
Source§impl<'a> Type3Glyph<'a>
A glyph defined by PDF drawing instructions.
impl<'a> Type3Glyph<'a>
A glyph defined by PDF drawing instructions.
Sourcepub fn interpret(
&self,
device: &mut impl Device<'a>,
transform: Affine,
glyph_transform: Affine,
paint: &Paint<'a>,
)
pub fn interpret( &self, device: &mut impl Device<'a>, transform: Affine, glyph_transform: Affine, paint: &Paint<'a>, )
Draw the type3 glyph to the given device.
Sourcepub fn as_unicode(&self) -> Option<BfString>
pub fn as_unicode(&self) -> Option<BfString>
Returns the Unicode code point for this glyph, if available.
Note: Type3 fonts can only provide Unicode via ToUnicode cmap.
A combining mark that an AMS name row gives is not placed on a Type 3 glyph’s neighbour: it reads as its code did before the row existed.
Trait Implementations§
Source§impl CacheKey for Type3Glyph<'_>
impl CacheKey for Type3Glyph<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Type3Glyph<'a>
impl<'a> !Send for Type3Glyph<'a>
impl<'a> !Sync for Type3Glyph<'a>
impl<'a> !UnwindSafe for Type3Glyph<'a>
impl<'a> Freeze for Type3Glyph<'a>
impl<'a> Unpin for Type3Glyph<'a>
impl<'a> UnsafeUnpin for Type3Glyph<'a>
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