[−][src]Struct fontdue::raw::RawPoint
Fields
x: f32
Absolute X coordinate.
y: f32
Absolute Y coordinate.
flags: u8
Flags associated with the point. The last bit (0x80) is used to mark if this is the start of a new contour. The bit is otherwise reserved in spec.
end_point: bool
Marks if this is the last point in the contour.
start_point: bool
Marks if this is the first point in the contour.
Implementations
impl RawPoint
[src]
pub fn on_curve(&self) -> bool
[src]
pub fn transform(&mut self, a: f32, b: f32, c: f32, d: f32, cx: f32, cy: f32)
[src]
Trait Implementations
impl Clone for RawPoint
[src]
fn clone(&self) -> RawPoint
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for RawPoint
[src]
impl Debug for RawPoint
[src]
impl Default for RawPoint
[src]
impl PartialEq<RawPoint> for RawPoint
[src]
impl StructuralPartialEq for RawPoint
[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,
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.
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>,