pub struct META_SCALEWINDOWEXT {
pub record_size: RecordSize,
pub record_function: u16,
pub y_denom: i16,
pub y_num: i16,
pub x_denom: i16,
pub x_num: i16,
}Expand description
The META_SCALEWINDOWEXT Record scales the horizontal and vertical extents of the output window that is defined in the playback device context by using the ratios formed by specified multiplicands and divisors.
Fields§
§record_size: RecordSizeRecordSize (4 bytes): A 32-bit unsigned integer that defines the number of WORD structures, defined in [MS-DTYP] section 2.2.61, in the WMF record.
record_function: u16RecordFunction (2 bytes): A 16-bit unsigned integer that defines this WMF record type. The lower byte MUST match the lower byte of the RecordType Enumeration table value META_SCALEWINDOWEXT.
y_denom: i16yDenom (2 bytes): A 16-bit signed integer that defines the amount by which to divide the result of multiplying the current y-extent by the value of the yNum member.
y_num: i16yNum (2 bytes): A 16-bit signed integer that defines the amount by which to multiply the current y-extent.
x_denom: i16xDenom (2 bytes): A 16-bit signed integer that defines the amount by which to divide the result of multiplying the current x-extent by the value of the xNum member.
x_num: i16xNum (2 bytes): A 16-bit signed integer that defines the amount by which to multiply the current x-extent.
Implementations§
Source§impl META_SCALEWINDOWEXT
impl META_SCALEWINDOWEXT
pub fn parse<R: Read>( buf: &mut R, record_size: RecordSize, record_function: u16, ) -> Result<Self, ParseError>
Trait Implementations§
Source§impl Clone for META_SCALEWINDOWEXT
impl Clone for META_SCALEWINDOWEXT
Auto Trait Implementations§
impl Forget for META_SCALEWINDOWEXT
impl Freeze for META_SCALEWINDOWEXT
impl Move for META_SCALEWINDOWEXT
impl RefUnwindSafe for META_SCALEWINDOWEXT
impl Send for META_SCALEWINDOWEXT
impl Sync for META_SCALEWINDOWEXT
impl Unpin for META_SCALEWINDOWEXT
impl UnsafeUnpin for META_SCALEWINDOWEXT
impl UnwindSafe for META_SCALEWINDOWEXT
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
T, using the provided data to resolve any offsets.