mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Further changes required by Servo
This commit is contained in:
parent
080b3f8d1a
commit
01549f0389
1 changed files with 7 additions and 0 deletions
|
@ -596,6 +596,13 @@ impl<T: ToMatrix> Transform<T> {
|
|||
}
|
||||
|
||||
/// Same as Transform::to_transform_3d_matrix but a f64 version.
|
||||
pub fn to_transform_3d_matrix_f64(
|
||||
&self,
|
||||
reference_box: Option<&Rect<ComputedLength>>
|
||||
) -> Result<(Transform3D<f64>, bool), ()> {
|
||||
Self::components_to_transform_3d_matrix_f64(&self.0, reference_box)
|
||||
}
|
||||
|
||||
fn components_to_transform_3d_matrix_f64(
|
||||
ops: &[T],
|
||||
reference_box: Option<&Rect<ComputedLength>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue