[−][src]Struct qt_gui::q_raw_font::LayoutFlag
This enum tells the function advancesForGlyphIndexes() how to calculate the advances.
C++ enum: QRawFont::LayoutFlag
.
This enum tells the function advancesForGlyphIndexes() how to calculate the advances.
This enum was introduced or modified in Qt 5.1.
The LayoutFlags type is a typedef for QFlags<LayoutFlag>. It stores an OR combination of LayoutFlag values.
Methods
impl LayoutFlag
[src]
impl LayoutFlag
[src]
pub const SeparateAdvances: LayoutFlag
[src]
Will calculate the advance for each glyph separately. (C++ enum variant: SeparateAdvances = 0
)
pub const KernedAdvances: LayoutFlag
[src]
Will apply kerning between adjacent glyphs. Note that OpenType GPOS based kerning is currently not supported. (C++ enum variant: KernedAdvances = 1
)
pub const UseDesignMetrics: LayoutFlag
[src]
Use design metrics instead of hinted metrics adjusted to the resolution of the paint device. Can be OR-ed with any of the options above. (C++ enum variant: UseDesignMetrics = 2
)
Trait Implementations
impl<T: Into<QFlags<LayoutFlag>>> BitOr<T> for LayoutFlag
[src]
type Output = QFlags<LayoutFlag>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<LayoutFlag>
[src]
impl Clone for LayoutFlag
[src]
fn clone(&self) -> LayoutFlag
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LayoutFlag
[src]
impl Debug for LayoutFlag
[src]
impl Eq for LayoutFlag
[src]
impl From<LayoutFlag> for c_int
[src]
fn from(value: LayoutFlag) -> Self
[src]
impl From<LayoutFlag> for QFlags<LayoutFlag>
[src]
fn from(value: LayoutFlag) -> Self
[src]
impl From<i32> for LayoutFlag
[src]
impl PartialEq<LayoutFlag> for LayoutFlag
[src]
fn eq(&self, other: &LayoutFlag) -> bool
[src]
fn ne(&self, other: &LayoutFlag) -> bool
[src]
impl StructuralEq for LayoutFlag
[src]
impl StructuralPartialEq for LayoutFlag
[src]
Auto Trait Implementations
impl RefUnwindSafe for LayoutFlag
impl Send for LayoutFlag
impl Sync for LayoutFlag
impl Unpin for LayoutFlag
impl UnwindSafe for LayoutFlag
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,