pub struct META_POLYLINE {
pub record_size: RecordSize,
pub record_function: u16,
pub number_of_points: i16,
pub a_points: Vec<PointS>,
}Expand description
The META_POLYLINE Record draws a series of line segments by connecting the points in the specified array.
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_POLYLINE.
number_of_points: i16NumberOfPoints (2 bytes): A 16-bit signed integer that defines the number of points in the array.
a_points: Vec<PointS>aPoints (variable): A NumberOfPoints array of 32-bit PointS Objects, in logical units.
Implementations§
Source§impl META_POLYLINE
impl META_POLYLINE
pub fn parse<R: Read>( buf: &mut R, record_size: RecordSize, record_function: u16, ) -> Result<Self, ParseError>
Trait Implementations§
Source§impl Clone for META_POLYLINE
impl Clone for META_POLYLINE
Auto Trait Implementations§
impl Forget for META_POLYLINE
impl Freeze for META_POLYLINE
impl Move for META_POLYLINE
impl RefUnwindSafe for META_POLYLINE
impl Send for META_POLYLINE
impl Sync for META_POLYLINE
impl Unpin for META_POLYLINE
impl UnsafeUnpin for META_POLYLINE
impl UnwindSafe for META_POLYLINE
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
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> ⓘ
Converts
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> ⓘ
Converts
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
Convert this type into
T, using the provided data to resolve any offsets.