Struct i_slint_core::graphics::PathQuadraticTo
source · #[repr(C)]pub struct PathQuadraticTo {
pub x: f32,
pub y: f32,
pub control_x: f32,
pub control_y: f32,
}Expand description
PathCubicTo describes a smooth Bézier curve from the path’s current position to the specified x/y location, using one control points.
Fields§
§x: f32The x coordinate of the curve’s end point.
y: f32The y coordinate of the curve’s end point.
control_x: f32The x coordinate of the curve’s control point.
control_y: f32The y coordinate of the curve’s control point.
Implementations§
source§impl PathQuadraticTo
impl PathQuadraticTo
sourcepub const FIELD_OFFSETS: PathQuadraticToFieldsOffsets = _
pub const FIELD_OFFSETS: PathQuadraticToFieldsOffsets = _
Return a struct containing the offset of for the fields of this struct
Trait Implementations§
source§impl Clone for PathQuadraticTo
impl Clone for PathQuadraticTo
source§fn clone(&self) -> PathQuadraticTo
fn clone(&self) -> PathQuadraticTo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PathQuadraticTo
impl Debug for PathQuadraticTo
source§impl Default for PathQuadraticTo
impl Default for PathQuadraticTo
source§fn default() -> PathQuadraticTo
fn default() -> PathQuadraticTo
Returns the “default value” for a type. Read more
source§impl From<PathQuadraticTo> for PathElement
impl From<PathQuadraticTo> for PathElement
source§fn from(original: PathQuadraticTo) -> PathElement
fn from(original: PathQuadraticTo) -> PathElement
Converts to this type from the input type.
source§impl PartialEq<PathQuadraticTo> for PathQuadraticTo
impl PartialEq<PathQuadraticTo> for PathQuadraticTo
source§fn eq(&self, other: &PathQuadraticTo) -> bool
fn eq(&self, other: &PathQuadraticTo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.