[−][src]Struct dxplr::dwrite::FontFace
Trait Implementations
impl Clone for FontFace
[src]
impl Debug for FontFace
[src]
impl IFontFace for FontFace
[src]
pub fn get_design_glyph_metrics(
&self,
indices: &[u16],
is_sideways: bool
) -> Result<Vec<GlyphMetrics>, HResult>
[src]
&self,
indices: &[u16],
is_sideways: bool
) -> Result<Vec<GlyphMetrics>, HResult>
pub fn get_files(&self) -> Result<Vec<FontFile>, HResult>
[src]
pub fn get_gdi_compatible_glyph_metrics(
&self,
em_size: f32,
pixels_per_dip: f32,
transform: Option<&Matrix>,
use_gdi_natural: bool,
indices: &[u16],
is_sideways: bool
) -> Result<Vec<GlyphMetrics>, HResult>
[src]
&self,
em_size: f32,
pixels_per_dip: f32,
transform: Option<&Matrix>,
use_gdi_natural: bool,
indices: &[u16],
is_sideways: bool
) -> Result<Vec<GlyphMetrics>, HResult>
pub fn get_gdi_compatbile_metrics(
&self,
em_size: f32,
pixels_per_dip: f32,
transform: Option<&Matrix>
) -> Result<FontMetrics, HResult>
[src]
&self,
em_size: f32,
pixels_per_dip: f32,
transform: Option<&Matrix>
) -> Result<FontMetrics, HResult>
pub fn get_glyph_count(&self) -> u16
[src]
pub fn get_glyph_indices(
&self,
code_points: &[u32]
) -> Result<Vec<u16>, HResult>
[src]
&self,
code_points: &[u32]
) -> Result<Vec<u16>, HResult>
pub fn get_glyph_run_outline(
&self,
em_size: f32,
indices: &[u16],
advances: Option<&[f32]>,
offsets: Option<&[GlyphOffset]>,
is_sideways: bool,
is_right_to_left: bool,
sink: &impl IGeometrySink
) -> Result<(), HResult>
[src]
&self,
em_size: f32,
indices: &[u16],
advances: Option<&[f32]>,
offsets: Option<&[GlyphOffset]>,
is_sideways: bool,
is_right_to_left: bool,
sink: &impl IGeometrySink
) -> Result<(), HResult>
pub fn get_index(&self) -> u32
[src]
pub fn get_metrics(&self) -> FontMetrics
[src]
pub fn get_recommended_rendering_mode(
&self,
em_size: f32,
pixels_per_dip: f32,
measuring_mode: MeasuringMode,
params: &impl IRenderingParams
) -> Result<RenderingMode, HResult>
[src]
&self,
em_size: f32,
pixels_per_dip: f32,
measuring_mode: MeasuringMode,
params: &impl IRenderingParams
) -> Result<RenderingMode, HResult>
pub fn get_simulations(&self) -> FontSimulations
[src]
pub fn get_type(&self) -> FontFaceType
[src]
pub fn is_symbol_font(&self) -> bool
[src]
pub fn try_get_font_table(&self, tag: u32) -> Result<Option<Vec<u8>>, HResult>
[src]
impl Interface for FontFace
[src]
type APIType = IDWriteFontFace
pub fn new(p: ComPtr<Self::APIType>) -> Self
[src]
pub fn uuidof() -> Guid
[src]
pub fn as_ptr(&self) -> *mut Self::APIType
[src]
pub fn as_com_ptr(&self) -> &ComPtr<Self::APIType>
[src]
pub fn as_unknown(&self) -> *mut IUnknown
[src]
pub fn from_com_ptr(p: ComPtr<Self::APIType>) -> Self
[src]
pub fn query_interface<T: Interface>(&self) -> Result<T, HResult>
[src]
impl Send for FontFace
[src]
impl Sync for FontFace
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,