pub trait DOMMatrixReadOnlyMethods {
Show 45 methods // Required methods fn FromMatrix( global: &GlobalScope, other: &DOMMatrixInit, _can_gc: CanGc, ) -> Result<Root<Dom<DOMMatrixReadOnly>>, Error>; fn FromFloat32Array( global: &GlobalScope, array32: CustomAutoRooterGuard<'_, Float32Array>, _can_gc: CanGc, ) -> Result<Root<Dom<DOMMatrixReadOnly>>, Error>; fn FromFloat64Array( global: &GlobalScope, array64: CustomAutoRooterGuard<'_, Float64Array>, _can_gc: CanGc, ) -> Result<Root<Dom<DOMMatrixReadOnly>>, Error>; fn A(&self) -> f64; fn B(&self) -> f64; fn C(&self) -> f64; fn D(&self) -> f64; fn E(&self) -> f64; fn F(&self) -> f64; fn M11(&self) -> f64; fn M12(&self) -> f64; fn M13(&self) -> f64; fn M14(&self) -> f64; fn M21(&self) -> f64; fn M22(&self) -> f64; fn M23(&self) -> f64; fn M24(&self) -> f64; fn M31(&self) -> f64; fn M32(&self) -> f64; fn M33(&self) -> f64; fn M34(&self) -> f64; fn M41(&self) -> f64; fn M42(&self) -> f64; fn M43(&self) -> f64; fn M44(&self) -> f64; fn Is2D(&self) -> bool; fn IsIdentity(&self) -> bool; fn Translate( &self, tx: f64, ty: f64, tz: f64, _can_gc: CanGc, ) -> Root<Dom<DOMMatrix>>; fn Scale( &self, scaleX: f64, scaleY: Option<f64>, scaleZ: f64, originX: f64, originY: f64, originZ: f64, _can_gc: CanGc, ) -> Root<Dom<DOMMatrix>>; fn ScaleNonUniform( &self, scaleX: f64, scaleY: f64, _can_gc: CanGc, ) -> Root<Dom<DOMMatrix>>; fn Scale3d( &self, scale: f64, originX: f64, originY: f64, originZ: f64, _can_gc: CanGc, ) -> Root<Dom<DOMMatrix>>; fn Rotate( &self, rotX: f64, rotY: Option<f64>, rotZ: Option<f64>, _can_gc: CanGc, ) -> Root<Dom<DOMMatrix>>; fn RotateFromVector( &self, x: f64, y: f64, _can_gc: CanGc, ) -> Root<Dom<DOMMatrix>>; fn RotateAxisAngle( &self, x: f64, y: f64, z: f64, angle: f64, _can_gc: CanGc, ) -> Root<Dom<DOMMatrix>>; fn SkewX(&self, sx: f64, _can_gc: CanGc) -> Root<Dom<DOMMatrix>>; fn SkewY(&self, sy: f64, _can_gc: CanGc) -> Root<Dom<DOMMatrix>>; fn Multiply( &self, other: &DOMMatrixInit, _can_gc: CanGc, ) -> Result<Root<Dom<DOMMatrix>>, Error>; fn FlipX(&self, _can_gc: CanGc) -> Root<Dom<DOMMatrix>>; fn FlipY(&self, _can_gc: CanGc) -> Root<Dom<DOMMatrix>>; fn Inverse(&self, _can_gc: CanGc) -> Root<Dom<DOMMatrix>>; fn TransformPoint( &self, point: &DOMPointInit, _can_gc: CanGc, ) -> Root<Dom<DOMPoint>>; fn ToFloat32Array(&self, cx: SafeJSContext) -> Float32Array; fn ToFloat64Array(&self, cx: SafeJSContext) -> Float64Array; fn Stringifier(&self) -> Result<DOMString, Error>; fn Constructor( global: &GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, init: Option<StringOrUnrestrictedDoubleSequence>, ) -> Result<Root<Dom<DOMMatrixReadOnly>>, Error>;
}

Required Methods§

source

fn FromMatrix( global: &GlobalScope, other: &DOMMatrixInit, _can_gc: CanGc, ) -> Result<Root<Dom<DOMMatrixReadOnly>>, Error>

source

fn FromFloat32Array( global: &GlobalScope, array32: CustomAutoRooterGuard<'_, Float32Array>, _can_gc: CanGc, ) -> Result<Root<Dom<DOMMatrixReadOnly>>, Error>

source

fn FromFloat64Array( global: &GlobalScope, array64: CustomAutoRooterGuard<'_, Float64Array>, _can_gc: CanGc, ) -> Result<Root<Dom<DOMMatrixReadOnly>>, Error>

source

fn A(&self) -> f64

source

fn B(&self) -> f64

source

fn C(&self) -> f64

source

fn D(&self) -> f64

source

fn E(&self) -> f64

source

fn F(&self) -> f64

source

fn M11(&self) -> f64

source

fn M12(&self) -> f64

source

fn M13(&self) -> f64

source

fn M14(&self) -> f64

source

fn M21(&self) -> f64

source

fn M22(&self) -> f64

source

fn M23(&self) -> f64

source

fn M24(&self) -> f64

source

fn M31(&self) -> f64

source

fn M32(&self) -> f64

source

fn M33(&self) -> f64

source

fn M34(&self) -> f64

source

fn M41(&self) -> f64

source

fn M42(&self) -> f64

source

fn M43(&self) -> f64

source

fn M44(&self) -> f64

source

fn Is2D(&self) -> bool

source

fn IsIdentity(&self) -> bool

source

fn Translate( &self, tx: f64, ty: f64, tz: f64, _can_gc: CanGc, ) -> Root<Dom<DOMMatrix>>

source

fn Scale( &self, scaleX: f64, scaleY: Option<f64>, scaleZ: f64, originX: f64, originY: f64, originZ: f64, _can_gc: CanGc, ) -> Root<Dom<DOMMatrix>>

source

fn ScaleNonUniform( &self, scaleX: f64, scaleY: f64, _can_gc: CanGc, ) -> Root<Dom<DOMMatrix>>

source

fn Scale3d( &self, scale: f64, originX: f64, originY: f64, originZ: f64, _can_gc: CanGc, ) -> Root<Dom<DOMMatrix>>

source

fn Rotate( &self, rotX: f64, rotY: Option<f64>, rotZ: Option<f64>, _can_gc: CanGc, ) -> Root<Dom<DOMMatrix>>

source

fn RotateFromVector( &self, x: f64, y: f64, _can_gc: CanGc, ) -> Root<Dom<DOMMatrix>>

source

fn RotateAxisAngle( &self, x: f64, y: f64, z: f64, angle: f64, _can_gc: CanGc, ) -> Root<Dom<DOMMatrix>>

source

fn SkewX(&self, sx: f64, _can_gc: CanGc) -> Root<Dom<DOMMatrix>>

source

fn SkewY(&self, sy: f64, _can_gc: CanGc) -> Root<Dom<DOMMatrix>>

source

fn Multiply( &self, other: &DOMMatrixInit, _can_gc: CanGc, ) -> Result<Root<Dom<DOMMatrix>>, Error>

source

fn FlipX(&self, _can_gc: CanGc) -> Root<Dom<DOMMatrix>>

source

fn FlipY(&self, _can_gc: CanGc) -> Root<Dom<DOMMatrix>>

source

fn Inverse(&self, _can_gc: CanGc) -> Root<Dom<DOMMatrix>>

source

fn TransformPoint( &self, point: &DOMPointInit, _can_gc: CanGc, ) -> Root<Dom<DOMPoint>>

source

fn ToFloat32Array(&self, cx: SafeJSContext) -> Float32Array

source

fn ToFloat64Array(&self, cx: SafeJSContext) -> Float64Array

source

fn Stringifier(&self) -> Result<DOMString, Error>

source

fn Constructor( global: &GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, init: Option<StringOrUnrestrictedDoubleSequence>, ) -> Result<Root<Dom<DOMMatrixReadOnly>>, Error>

Object Safety§

This trait is not object safe.

Implementors§