Enum lyon::path::PathEvent [−]
pub enum PathEvent { MoveTo(TypedPoint2D<f32, UnknownUnit>), LineTo(TypedPoint2D<f32, UnknownUnit>), QuadraticTo(TypedPoint2D<f32, UnknownUnit>, TypedPoint2D<f32, UnknownUnit>), CubicTo(TypedPoint2D<f32, UnknownUnit>, TypedPoint2D<f32, UnknownUnit>, TypedPoint2D<f32, UnknownUnit>), Arc(TypedPoint2D<f32, UnknownUnit>, TypedVector2D<f32, UnknownUnit>, Angle<f32>, Angle<f32>), Close, }
Variants
MoveTo(TypedPoint2D<f32, UnknownUnit>)
LineTo(TypedPoint2D<f32, UnknownUnit>)
QuadraticTo(TypedPoint2D<f32, UnknownUnit>, TypedPoint2D<f32, UnknownUnit>)
CubicTo(TypedPoint2D<f32, UnknownUnit>, TypedPoint2D<f32, UnknownUnit>, TypedPoint2D<f32, UnknownUnit>)
Arc(TypedPoint2D<f32, UnknownUnit>, TypedVector2D<f32, UnknownUnit>, Angle<f32>, Angle<f32>)
Close
Trait Implementations
impl Into<PathEvent> for FlattenedEvent
impl Into<PathEvent> for FlattenedEvent
impl Clone for PathEvent
impl Clone for PathEvent
fn clone(&self) -> PathEvent
fn clone(&self) -> PathEvent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for PathEvent
impl Debug for PathEvent
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for PathEvent
impl Copy for PathEvent
impl Transform for PathEvent
impl Transform for PathEvent
fn transform(
&self,
mat: &TypedTransform2D<f32, UnknownUnit, UnknownUnit>
) -> PathEvent
fn transform(
&self,
mat: &TypedTransform2D<f32, UnknownUnit, UnknownUnit>
) -> PathEvent
impl PartialEq<PathEvent> for PathEvent
impl PartialEq<PathEvent> for PathEvent
fn eq(&self, other: &PathEvent) -> bool
fn eq(&self, other: &PathEvent) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PathEvent) -> bool
fn ne(&self, other: &PathEvent) -> bool
This method tests for !=
.
impl TightBoundingRect for PathEvent
[src]
impl TightBoundingRect for PathEvent
fn min_max(
&self,
current: &mut TypedPoint2D<f32, UnknownUnit>,
first: &mut TypedPoint2D<f32, UnknownUnit>,
min: &mut TypedPoint2D<f32, UnknownUnit>,
max: &mut TypedPoint2D<f32, UnknownUnit>
)
[src]
fn min_max(
&self,
current: &mut TypedPoint2D<f32, UnknownUnit>,
first: &mut TypedPoint2D<f32, UnknownUnit>,
min: &mut TypedPoint2D<f32, UnknownUnit>,
max: &mut TypedPoint2D<f32, UnknownUnit>
)
impl FastBoundingRect for PathEvent
[src]
impl FastBoundingRect for PathEvent
fn min_max(
&self,
min: &mut TypedPoint2D<f32, UnknownUnit>,
max: &mut TypedPoint2D<f32, UnknownUnit>
)
[src]
fn min_max(
&self,
min: &mut TypedPoint2D<f32, UnknownUnit>,
max: &mut TypedPoint2D<f32, UnknownUnit>
)