skia_safe

Type Alias scalar

Source
pub type scalar = SkScalar;

Trait Implementations§

Source§

impl Div<V2> for scalar

Source§

type Output = V2

The resulting type after applying the / operator.
Source§

fn div(self, v: V2) -> Self::Output

Performs the / operation. Read more
Source§

impl Mul<Point3> for scalar

Source§

type Output = Point3

The resulting type after applying the * operator.
Source§

fn mul(self, p: Point3) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<V2> for scalar

Source§

type Output = V2

The resulting type after applying the * operator.
Source§

fn mul(self, v: V2) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<V3> for scalar

Source§

type Output = V3

The resulting type after applying the * operator.
Source§

fn mul(self, v: V3) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<V4> for scalar

Source§

type Output = V4

The resulting type after applying the * operator.
Source§

fn mul(self, v: V4) -> Self::Output

Performs the * operation. Read more
Source§

impl Scalar for scalar

Source§

const ZERO: Self = 0f32

Source§

const NEARLY_ZERO: Self = 2.44140625E-4f32

Source§

const ONE: Self = 1f32

Source§

const HALF: Self = 0.5f32

Source§

fn nearly_equal( x: scalar, y: scalar, tolerance: impl Into<Option<scalar>>, ) -> bool

Source§

fn nearly_zero(&self, tolerance: impl Into<Option<scalar>>) -> bool